aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/checkpoints.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cryptonote_core/checkpoints.h')
-rw-r--r--src/cryptonote_core/checkpoints.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cryptonote_core/checkpoints.h b/src/cryptonote_core/checkpoints.h
index 3dee48682..60147864d 100644
--- a/src/cryptonote_core/checkpoints.h
+++ b/src/cryptonote_core/checkpoints.h
@@ -30,6 +30,7 @@
#pragma once
#include <map>
+#include <vector>
#include "cryptonote_basic_impl.h"
@@ -45,7 +46,7 @@ namespace cryptonote
bool check_block(uint64_t height, const crypto::hash& h, bool& is_a_checkpoint) const;
bool is_alternative_block_allowed(uint64_t blockchain_height, uint64_t block_height) const;
uint64_t get_max_height();
-
+ const std::map<uint64_t, crypto::hash>& get_points();
private:
std::map<uint64_t, crypto::hash> m_points;
};