cryptonote_core: dandelion - use local height or median height if syncing

This commit is contained in:
xiphon 2020-11-20 11:37:19 +00:00
parent 9c1562c038
commit a9cd5d914e
10 changed files with 85 additions and 18 deletions

View file

@ -120,7 +120,12 @@ namespace
{
std::map<cryptonote::relay_method, std::vector<cryptonote::blobdata>> relayed_;
uint64_t get_target_blockchain_height() const override
virtual bool is_synchronized() const final
{
return false;
}
virtual uint64_t get_current_blockchain_height() const final
{
return 0;
}