diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-08-17 21:35:02 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-08-17 21:35:02 +0200 |
commit | 4b2cc123ff48fdd2c62dbffc24c604c45c6fbf1d (patch) | |
tree | bfe654f3fb0b4b5ae5ffdb96919080c716449069 /tests/unit_tests | |
parent | Merge pull request #2297 (diff) | |
parent | protocol: pass blockchain cumulative difficulty when syncing (diff) | |
download | monero-4b2cc123ff48fdd2c62dbffc24c604c45c6fbf1d.tar.xz |
Merge pull request #2287
827afcb7 protocol: pass blockchain cumulative difficulty when syncing (moneromooo-monero)
Diffstat (limited to 'tests/unit_tests')
-rw-r--r-- | tests/unit_tests/ban.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit_tests/ban.cpp b/tests/unit_tests/ban.cpp index 6fc8b83dd..3783beab5 100644 --- a/tests/unit_tests/ban.cpp +++ b/tests/unit_tests/ban.cpp @@ -75,6 +75,7 @@ public: 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; } + cryptonote::difficulty_type get_block_cumulative_difficulty(uint64_t height) const { return 0; } }; typedef nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<test_core>> Server; |