aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-12 15:24:39 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-15 21:03:37 +0100
commit827afcb7ea10eb2bf03ffb7ad2520f29cd53019f (patch)
treeb0736c05f24b7481b336e79ba7b9d7095d33c21d /tests/unit_tests
parentMerge pull request #2286 (diff)
downloadmonero-827afcb7ea10eb2bf03ffb7ad2520f29cd53019f.tar.xz
protocol: pass blockchain cumulative difficulty when syncing
Not used yet.
Diffstat (limited to 'tests/unit_tests')
-rw-r--r--tests/unit_tests/ban.cpp1
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;