diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-08-15 20:53:41 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-08-15 20:53:41 +0200 |
commit | 53dde37ceb7af7d9a43937ba4c26499df26f5934 (patch) | |
tree | 23a680ceb7c57ba762fe14d8e22029949e20a285 /tests/unit_tests | |
parent | Merge pull request #2277 (diff) | |
parent | tests: fix tests build (diff) | |
download | monero-53dde37ceb7af7d9a43937ba4c26499df26f5934.tar.xz |
Merge pull request #2276
a1891ebe tests: fix tests build (moneromooo-monero)
Diffstat (limited to 'tests/unit_tests')
-rw-r--r-- | tests/unit_tests/ban.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit_tests/ban.cpp b/tests/unit_tests/ban.cpp index 694d733ec..6fc8b83dd 100644 --- a/tests/unit_tests/ban.cpp +++ b/tests/unit_tests/ban.cpp @@ -73,6 +73,8 @@ public: bool get_blocks(uint64_t start_offset, size_t count, std::list<std::pair<cryptonote::blobdata, cryptonote::block>>& blocks, std::list<cryptonote::blobdata>& txs) const { return false; } bool get_transactions(const std::vector<crypto::hash>& txs_ids, std::list<cryptonote::transaction>& txs, std::list<crypto::hash>& missed_txs) const { return false; } bool get_block_by_hash(const crypto::hash &h, cryptonote::block &blk, bool *orphan = NULL) const { return false; } + uint8_t get_ideal_hard_fork_version(uint64_t height) const { return 0; } + uint8_t get_hard_fork_version(uint64_t height) const { return 0; } }; typedef nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<test_core>> Server; |