diff options
| author | xiphon <xiphon@protonmail.com> | 2020-11-20 11:37:19 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2020-11-25 01:27:42 +0000 |
| commit | a9cd5d914e032f2ae6ce56e6b48f0f47d3a56ad7 (patch) | |
| tree | d38857614b328ebccf77fba6bed35834ff029fa6 /tests/core_proxy | |
| parent | 9c1562c03864f44a99d076bd3b244d3a1fea65b4 (diff) | |
| download | monzero-core-a9cd5d914e032f2ae6ce56e6b48f0f47d3a56ad7.tar.gz monzero-core-a9cd5d914e032f2ae6ce56e6b48f0f47d3a56ad7.tar.xz monzero-core-a9cd5d914e032f2ae6ce56e6b48f0f47d3a56ad7.zip | |
cryptonote_core: dandelion - use local height or median height if syncing
Diffstat (limited to 'tests/core_proxy')
| -rw-r--r-- | tests/core_proxy/core_proxy.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/core_proxy/core_proxy.h b/tests/core_proxy/core_proxy.h index 4a41b5002..ecfcc18ae 100644 --- a/tests/core_proxy/core_proxy.h +++ b/tests/core_proxy/core_proxy.h @@ -66,9 +66,10 @@ namespace tests public: + virtual bool is_synchronized() const final { return true; } void on_synchronized(){} void safesyncmode(const bool){} - uint64_t get_current_blockchain_height(){return 1;} + virtual uint64_t get_current_blockchain_height() const final {return 1;} void set_target_blockchain_height(uint64_t) {} bool init(const boost::program_options::variables_map& vm); bool deinit(){return true;} |
