From f3a60000946c86a42abbac3b8c4d9e6865b9cefb Mon Sep 17 00:00:00 2001 From: warptangent Date: Mon, 8 Feb 2016 08:32:19 -0800 Subject: BlockchainDB/LMDB/BDB: Extract DB txn functions for block add/remove --- src/blockchain_db/berkeleydb/db_bdb.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/blockchain_db/berkeleydb/db_bdb.h') diff --git a/src/blockchain_db/berkeleydb/db_bdb.h b/src/blockchain_db/berkeleydb/db_bdb.h index 6db91aa1e..42119da93 100644 --- a/src/blockchain_db/berkeleydb/db_bdb.h +++ b/src/blockchain_db/berkeleydb/db_bdb.h @@ -328,6 +328,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& txs); #if defined(BDB_BULK_CAN_THREAD) -- cgit v1.2.3