diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-04-28 16:57:36 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-04-28 16:57:36 +0200 |
commit | 2ab5b1a21f373d19d7d526164a9796e0c5210dad (patch) | |
tree | 8d3427361a90ba7cfc2a8f67a6f05bff41876b8c /tests/unit_tests/ban.cpp | |
parent | Merge pull request #3685 (diff) | |
parent | Only log an error if fork version is higher AND is not known. (diff) | |
download | monero-2ab5b1a21f373d19d7d526164a9796e0c5210dad.tar.xz |
Merge pull request #3683
dad10775 Only log an error if fork version is higher AND is not known. (Thaer Khawaja)
Diffstat (limited to 'tests/unit_tests/ban.cpp')
-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 688656cbc..e56a89971 100644 --- a/tests/unit_tests/ban.cpp +++ b/tests/unit_tests/ban.cpp @@ -76,6 +76,7 @@ public: bool get_blocks(uint64_t start_offset, size_t count, std::list<std::pair<cryptonote::blobdata, cryptonote::block>>& blocks, std::list<cryptonote::blobdata>& txs) const { return false; } bool get_transactions(const std::vector<crypto::hash>& txs_ids, std::list<cryptonote::transaction>& txs, std::list<crypto::hash>& 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; } |