diff options
author | luigi1111 <luigi1111w@gmail.com> | 2018-06-08 14:31:49 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2018-06-08 14:31:49 -0500 |
commit | 22c87302618fccee0de2affc9a0c689ba8aea268 (patch) | |
tree | c7f7cbb44b635cacd39424e9f7c601cd1412a702 /tests/unit_tests/ban.cpp | |
parent | Merge pull request #3444 (diff) | |
parent | core: add get_earliest_ideal_height_for_version() (diff) | |
download | monero-22c87302618fccee0de2affc9a0c689ba8aea268.tar.xz |
Merge pull request #3450
3b941be core: add get_earliest_ideal_height_for_version() (stoffu)
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 e56a89971..15bc0bce3 100644 --- a/tests/unit_tests/ban.cpp +++ b/tests/unit_tests/ban.cpp @@ -79,6 +79,7 @@ public: 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; } + uint64_t get_earliest_ideal_height_for_version(uint8_t version) 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<crypto::hash> &hashes) { return 0; } |