From 7adceee634354f9291de8dd021669d7ca5cf3f2a Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 13 Sep 2017 21:03:04 +0100 Subject: precomputed block hashes are now in blocks of N (currently 256) This shaves a lot of space off binaries --- tests/core_proxy/core_proxy.h | 1 + tests/unit_tests/ban.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/core_proxy/core_proxy.h b/tests/core_proxy/core_proxy.h index 85518612a..4f056ec7e 100644 --- a/tests/core_proxy/core_proxy.h +++ b/tests/core_proxy/core_proxy.h @@ -101,5 +101,6 @@ namespace tests 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; } bool fluffy_blocks_enabled() const { return false; } + uint64_t prevalidate_block_hashes(uint64_t height, const std::list &hashes) { return 0; } }; } diff --git a/tests/unit_tests/ban.cpp b/tests/unit_tests/ban.cpp index 82ff058b1..313d72e97 100644 --- a/tests/unit_tests/ban.cpp +++ b/tests/unit_tests/ban.cpp @@ -78,6 +78,7 @@ public: 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; } bool fluffy_blocks_enabled() const { return false; } + uint64_t prevalidate_block_hashes(uint64_t height, const std::list &hashes) { return 0; } }; typedef nodetool::node_server> Server; -- cgit v1.2.3