From dad10775778ef5e4f7ab99d1cda653728f438540 Mon Sep 17 00:00:00 2001 From: Thaer Khawaja Date: Sun, 15 Apr 2018 19:02:26 -0700 Subject: Only log an error if fork version is higher AND is not known. --- tests/core_proxy/core_proxy.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/core_proxy') diff --git a/tests/core_proxy/core_proxy.h b/tests/core_proxy/core_proxy.h index 59f8d5239..6684c134c 100644 --- a/tests/core_proxy/core_proxy.h +++ b/tests/core_proxy/core_proxy.h @@ -97,6 +97,7 @@ namespace tests bool get_blocks(uint64_t start_offset, size_t count, std::list>& blocks, std::list& txs) const { return false; } bool get_transactions(const std::vector& txs_ids, std::list& txs, std::list& 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() const { return 0; } 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; } -- cgit v1.2.3