reload checkpoints file every ~hr and print if any fail
also some other minor bug squashing and code formatting
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user