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/cryptonote_core.cpp | |
| parent | 57e57c239b2f22a8d7a4c6afda359df3876246c9 (diff) | |
| download | monzero-core-93db74a91ed7416754899d4cbacf213647894871.tar.gz monzero-core-93db74a91ed7416754899d4cbacf213647894871.tar.xz monzero-core-93db74a91ed7416754899d4cbacf213647894871.zip | |
rpc: skip bootstrap nodes that are lower than last checkpoint
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.cpp')
| -rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index 95cd1c83b..31e4e0414 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -252,6 +252,10 @@ namespace cryptonote m_pprotocol = &m_protocol_stub; } //----------------------------------------------------------------------------------- + const checkpoints& core::get_checkpoints() const + { + return m_blockchain_storage.get_checkpoints(); + } void core::set_checkpoints(checkpoints&& chk_pts) { m_blockchain_storage.set_checkpoints(std::move(chk_pts)); |
