diff options
author | selsta <selsta@sent.at> | 2022-08-20 00:40:46 +0200 |
---|---|---|
committer | selsta <selsta@sent.at> | 2022-09-06 22:09:39 +0200 |
commit | 93db74a91ed7416754899d4cbacf213647894871 (patch) | |
tree | 66ce405881f8d64100d75230ec2e4952237bdfca /src/cryptonote_core/blockchain.h | |
parent | Merge pull request #8491 (diff) | |
download | monero-93db74a91ed7416754899d4cbacf213647894871.tar.xz |
rpc: skip bootstrap nodes that are lower than last checkpoint
Diffstat (limited to 'src/cryptonote_core/blockchain.h')
-rw-r--r-- | src/cryptonote_core/blockchain.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain.h b/src/cryptonote_core/blockchain.h index 7a94f6358..355d0de1a 100644 --- a/src/cryptonote_core/blockchain.h +++ b/src/cryptonote_core/blockchain.h @@ -159,6 +159,13 @@ namespace cryptonote bool deinit(); /** + * @brief get a set of blockchain checkpoint hashes + * + * @return set of blockchain checkpoint hashes + */ + const checkpoints& get_checkpoints() const { return m_checkpoints; } + + /** * @brief assign a set of blockchain checkpoint hashes * * @param chk_pts the set of checkpoints to assign |