diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-11-11 18:16:13 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-11-11 18:17:16 +0000 |
commit | 2078cb6f2f09da6fa5d8b2ff9d83e849cc734090 (patch) | |
tree | d0d61324515616330d4b4b8758595d6f59a514c5 /tests/unit_tests | |
parent | Merge pull request #1316 (diff) | |
download | monero-2078cb6f2f09da6fa5d8b2ff9d83e849cc734090.tar.xz |
tests: fix tests builds after fluffy blocks merge
Diffstat (limited to 'tests/unit_tests')
-rw-r--r-- | tests/unit_tests/ban.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit_tests/ban.cpp b/tests/unit_tests/ban.cpp index e82661545..6b3f029d1 100644 --- a/tests/unit_tests/ban.cpp +++ b/tests/unit_tests/ban.cpp @@ -64,6 +64,9 @@ public: uint64_t get_target_blockchain_height() const { return 1; } size_t get_block_sync_size() const { return BLOCKS_SYNCHRONIZING_DEFAULT_COUNT; } virtual void on_transaction_relayed(const cryptonote::blobdata& tx) {} + bool get_testnet() const { return false; } + bool get_pool_transaction(const crypto::hash& id, cryptonote::transaction& tx) const { return false; } + bool get_blocks(uint64_t start_offset, size_t count, std::list<cryptonote::block>& blocks, std::list<cryptonote::transaction>& txs) const { return false; } }; typedef nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<test_core>> Server; |