aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/checkpoints.h
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2014-09-25 01:15:28 -0400
committerThomas Winget <tewinget@gmail.com>2014-09-30 16:21:37 -0400
commit30caebfce3a2445b809125a541cc9958b07d02f5 (patch)
tree64b640979d79d553dd3be7554154373afd7e98e4 /src/cryptonote_core/checkpoints.h
parentupdated DNSResolver/things that use it for DNSSEC (diff)
downloadmonero-30caebfce3a2445b809125a541cc9958b07d02f5.tar.xz
reload checkpoints file every ~hr and print if any fail
also some other minor bug squashing and code formatting
Diffstat (limited to 'src/cryptonote_core/checkpoints.h')
-rw-r--r--src/cryptonote_core/checkpoints.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cryptonote_core/checkpoints.h b/src/cryptonote_core/checkpoints.h
index 3dee48682..60147864d 100644
--- a/src/cryptonote_core/checkpoints.h
+++ b/src/cryptonote_core/checkpoints.h
@@ -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;
};