aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/lmdb/db_lmdb.h
diff options
context:
space:
mode:
authorwarptangent <warptangent@tutanota.com>2016-02-08 08:32:19 -0800
committerwarptangent <warptangent@tutanota.com>2016-02-08 09:28:14 -0800
commitf3a60000946c86a42abbac3b8c4d9e6865b9cefb (patch)
tree49e5d37698726b59973585c8cf691979f23a7977 /src/blockchain_db/lmdb/db_lmdb.h
parentBlockchainLMDB: Allow two HardFork functions to update DB during block add (diff)
downloadmonero-f3a60000946c86a42abbac3b8c4d9e6865b9cefb.tar.xz
BlockchainDB/LMDB/BDB: Extract DB txn functions for block add/remove
Diffstat (limited to '')
-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; }