diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-10-13 10:48:00 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-10-13 10:48:00 -0500 |
commit | 94a86cf8552505e4a46be6764bdf0387d904d935 (patch) | |
tree | d8d1ae4cbffa40cf3b1c7702f50a4a9edfe8306c /src/cryptonote_core | |
parent | Merge pull request #6883 (diff) | |
parent | Dandelion++: skip desynced peers in stem phase (diff) | |
download | monero-94a86cf8552505e4a46be6764bdf0387d904d935.tar.xz |
Merge pull request #6884
6352090 Dandelion++: skip desynced peers in stem phase (xiphon)
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r-- | src/cryptonote_core/cryptonote_core.h | 2 | ||||
-rw-r--r-- | src/cryptonote_core/i_core_events.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_core.h b/src/cryptonote_core/cryptonote_core.h index c9d26e0ed..7c578ac51 100644 --- a/src/cryptonote_core/cryptonote_core.h +++ b/src/cryptonote_core/cryptonote_core.h @@ -663,7 +663,7 @@ namespace cryptonote * * @param target_blockchain_height the target height */ - uint64_t get_target_blockchain_height() const; + virtual uint64_t get_target_blockchain_height() const override; /** * @brief returns the newest hardfork version known to the blockchain diff --git a/src/cryptonote_core/i_core_events.h b/src/cryptonote_core/i_core_events.h index 03394d785..addb659ab 100644 --- a/src/cryptonote_core/i_core_events.h +++ b/src/cryptonote_core/i_core_events.h @@ -39,6 +39,7 @@ namespace cryptonote virtual ~i_core_events() noexcept {} + virtual uint64_t get_target_blockchain_height() const = 0; virtual void on_transactions_relayed(epee::span<const cryptonote::blobdata> tx_blobs, relay_method tx_relay) = 0; }; } |