aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain.h
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2015-02-23 18:24:59 -0500
committerThomas Winget <tewinget@gmail.com>2015-02-23 18:24:59 -0500
commitb5796da0fa67269ed218cdd14ef9f3b548fd6507 (patch)
treea64104230bd0d8ddfac59d119de7fd36dc4f48e6 /src/cryptonote_core/blockchain.h
parentMerge pull request #31 from warptangent/fix/fix_get_tail_id (diff)
parentBlockchainLMDB: Add profiling to tx_exists() (diff)
downloadmonero-b5796da0fa67269ed218cdd14ef9f3b548fd6507.tar.xz
Merge #32
Add support to BlockchainDB and BlockchainLMDB for batch transactions. Add profiling to block and tx processing and DB operations. Improve block and tx processing efficiency by less repeat hashing. Move LMDB storage to "lmdb" subfolder. - Upon startup, if old LMDB files are detected, abort with a message for the user to move them to subfolder or delete them. Update and fix log statements and formatting.
Diffstat (limited to 'src/cryptonote_core/blockchain.h')
-rw-r--r--src/cryptonote_core/blockchain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/blockchain.h b/src/cryptonote_core/blockchain.h
index 6ab963ac7..3e8a2de31 100644
--- a/src/cryptonote_core/blockchain.h
+++ b/src/cryptonote_core/blockchain.h
@@ -141,7 +141,7 @@ namespace cryptonote
void print_blockchain_index();
void print_blockchain_outs(const std::string& file);
- void check_against_checkpoints(checkpoints& points, bool enforce);
+ void check_against_checkpoints(const checkpoints& points, bool enforce);
void set_enforce_dns_checkpoints(bool enforce);
bool update_checkpoints(const std::string& file_path, bool check_dns);