From 3e89df4150051493abdb358e93cf998906c6bee0 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Mon, 26 Oct 2015 19:43:39 +0000 Subject: Build fixes for the old blockchain_storage version --- tests/unit_tests/hardfork.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/unit_tests/hardfork.cpp b/tests/unit_tests/hardfork.cpp index 210c1959b..5c58b3f4b 100644 --- a/tests/unit_tests/hardfork.cpp +++ b/tests/unit_tests/hardfork.cpp @@ -98,6 +98,11 @@ public: virtual void add_spent_key(const crypto::key_image& k_image) {} virtual void remove_spent_key(const crypto::key_image& k_image) {} + virtual bool for_all_key_images(std::function) const { return true; } + virtual bool for_all_blocks(std::function) const { return true; } + virtual bool for_all_transactions(std::function) const { return true; } + virtual bool for_all_outputs(std::function f) const { return true; } + virtual void add_block( const block& blk , const size_t& block_size , const difficulty_type& cumulative_difficulty -- cgit v1.2.3