reload checkpoints file every ~hr and print if any fail

also some other minor bug squashing and code formatting
This commit is contained in:
Thomas Winget
2014-09-25 01:15:28 -04:00
parent 0e1449135d
commit 30caebfce3
11 changed files with 174 additions and 73 deletions
+2 -1
View File
@@ -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;
};