aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-10-18 23:25:08 -0700
committerAlexander Blair <snipa@jagtech.io>2020-10-18 23:25:08 -0700
commit543d600042cc9ef7213f9ac8cd7397581a858e05 (patch)
tree0db631962e044ad0b7086eeb3eaf471c2a47f4b3 /src/cryptonote_core
parentMerge pull request #6862 (diff)
parentDandelion++: skip desynced peers in stem phase (diff)
downloadmonero-543d600042cc9ef7213f9ac8cd7397581a858e05.tar.xz
Merge pull request #6875
a12a8174e Dandelion++: skip desynced peers in stem phase (xiphon)
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/cryptonote_core.h2
-rw-r--r--src/cryptonote_core/i_core_events.h1
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;
};
}