aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain.h
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2022-08-20 00:40:46 +0200
committerselsta <selsta@sent.at>2022-09-06 22:09:39 +0200
commit93db74a91ed7416754899d4cbacf213647894871 (patch)
tree66ce405881f8d64100d75230ec2e4952237bdfca /src/cryptonote_core/blockchain.h
parentMerge pull request #8491 (diff)
downloadmonero-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.h7
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