aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/checkpoints.h
diff options
context:
space:
mode:
authorTomer Konforty <tomerk@kon40.com>2014-09-24 17:36:04 +0300
committerRiccardo Spagni <ric@spagni.net>2014-09-25 00:00:44 +0200
commit06a4578bf253cfde6f0ab352994b3aadf61ec372 (patch)
treec96190c1c5b4b112f7086a9071ac4d7f2eeb6b30 /src/cryptonote_core/checkpoints.h
parentcheckpoint (diff)
downloadmonero-06a4578bf253cfde6f0ab352994b3aadf61ec372.tar.xz
Added ability to read chechpoint hashes from json file in data folder
Diffstat (limited to 'src/cryptonote_core/checkpoints.h')
-rw-r--r--src/cryptonote_core/checkpoints.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_core/checkpoints.h b/src/cryptonote_core/checkpoints.h
index 11c4b5eb7..3dee48682 100644
--- a/src/cryptonote_core/checkpoints.h
+++ b/src/cryptonote_core/checkpoints.h
@@ -44,6 +44,7 @@ namespace cryptonote
bool check_block(uint64_t height, const crypto::hash& h) const;
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();
private:
std::map<uint64_t, crypto::hash> m_points;