mirror of
https://github.com/monero-project/monero.git
synced 2025-05-02 09:46:07 -04:00
cryptonote_core: dandelion - use local height or median height if syncing
This commit is contained in:
parent
9c1562c038
commit
a9cd5d914e
10 changed files with 85 additions and 18 deletions
|
@ -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;}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue