checkpoints: add consts where appropriate
This commit is contained in:
committed by
warptangent
parent
b7270ab60e
commit
256162fcd5
@@ -45,9 +45,9 @@ 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();
|
||||
const std::map<uint64_t, crypto::hash>& get_points();
|
||||
bool check_for_conflicts(checkpoints& other);
|
||||
uint64_t get_max_height() const;
|
||||
const std::map<uint64_t, crypto::hash>& get_points() const;
|
||||
bool check_for_conflicts(const checkpoints& other) const;
|
||||
private:
|
||||
std::map<uint64_t, crypto::hash> m_points;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user