aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/lmdb/db_lmdb.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-02-08 19:52:36 +0200
committerRiccardo Spagni <ric@spagni.net>2016-02-08 19:52:36 +0200
commit24ccdb9b6e674fa8b41e76b0f9c956b81f2e075a (patch)
tree498d7056b539a76605d40c952002c336187a42fd /src/blockchain_db/lmdb/db_lmdb.h
parentMerge pull request #644 (diff)
parentBlockchain: Update comments on removing block (diff)
downloadmonero-24ccdb9b6e674fa8b41e76b0f9c956b81f2e075a.tar.xz
Merge pull request #650
e298b14 Blockchain: Update comments on removing block (warptangent) b368e29 blockchain_import: Get hard fork version from HardFork (warptangent) e02577f Move HardFork DB update to BlockchainDB::add_block() (warptangent) 3800875 Make HardFork object available to BlockchainDB and derived DB implementations (warptangent) fd46c96 BlockchainDB/LMDB: Refactor block-scope DB txn handling for add block (warptangent) f3a6000 BlockchainDB/LMDB/BDB: Extract DB txn functions for block add/remove (warptangent) f47d5b0 BlockchainLMDB: Allow two HardFork functions to update DB during block add (warptangent) 15ee0be BlockchainLMDB: extract txn macros used during block add/remove (warptangent)
Diffstat (limited to 'src/blockchain_db/lmdb/db_lmdb.h')
-rw-r--r--src/blockchain_db/lmdb/db_lmdb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.h b/src/blockchain_db/lmdb/db_lmdb.h
index eb0704ab2..e88bcd01b 100644
--- a/src/blockchain_db/lmdb/db_lmdb.h
+++ b/src/blockchain_db/lmdb/db_lmdb.h
@@ -194,6 +194,10 @@ public:
virtual void batch_stop();
virtual void batch_abort();
+ virtual void block_txn_start();
+ virtual void block_txn_stop();
+ virtual void block_txn_abort();
+
virtual void pop_block(block& blk, std::vector<transaction>& txs);
virtual bool can_thread_bulk_indices() const { return true; }