Added ability to read chechpoint hashes from json file in data folder

This commit is contained in:
Tomer Konforty
2014-09-24 17:36:04 +03:00
committed by Riccardo Spagni
parent 9956b68b18
commit 06a4578bf2
4 changed files with 65 additions and 0 deletions
+1
View File
@@ -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;