aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-06-18 17:36:12 +0200
committerRiccardo Spagni <ric@spagni.net>2017-06-18 17:36:12 +0200
commit78f965a9e23145f0e1f3abb422cbd4ea24654cd8 (patch)
tree81ff2d7b170da4620138fdea89ccae17632c2aea /tests
parentMerge pull request #2081 (diff)
parentblockchain_db: add a txpool tx getter which returns existence (diff)
downloadmonero-78f965a9e23145f0e1f3abb422cbd4ea24654cd8.tar.xz
Merge pull request #2082
235df7f4 blockchain_db: add a txpool tx getter which returns existence (moneromooo-monero)
Diffstat (limited to 'tests')
-rw-r--r--tests/unit_tests/hardfork.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit_tests/hardfork.cpp b/tests/unit_tests/hardfork.cpp
index 4bfe90733..febf8b2f7 100644
--- a/tests/unit_tests/hardfork.cpp
+++ b/tests/unit_tests/hardfork.cpp
@@ -118,6 +118,7 @@ public:
virtual bool txpool_has_tx(const crypto::hash &txid) const { return false; }
virtual void remove_txpool_tx(const crypto::hash& txid) {}
virtual txpool_tx_meta_t get_txpool_tx_meta(const crypto::hash& txid) const { return txpool_tx_meta_t(); }
+ virtual bool get_txpool_tx_blob(const crypto::hash& txid, cryptonote::blobdata &bd) const { return false; }
virtual cryptonote::blobdata get_txpool_tx_blob(const crypto::hash& txid) const { return ""; }
virtual bool for_all_txpool_txes(std::function<bool(const crypto::hash&, const txpool_tx_meta_t&, const cryptonote::blobdata*)>, bool include_blob = false) const { return false; }