diff options
author | warptangent <warptangent@inbox.com> | 2015-02-11 15:55:53 -0800 |
---|---|---|
committer | warptangent <warptangent@inbox.com> | 2015-02-23 00:33:38 -0800 |
commit | 7a66b8bbcfb3f8084141d8ffb1154a3a514a9ee5 (patch) | |
tree | c5d17d5bb67f957b63f7e00872b8aa232c8a0929 /src/cryptonote_core/blockchain_db.h | |
parent | BlockchainLMDB: Add check for open database to two functions (diff) | |
download | monero-7a66b8bbcfb3f8084141d8ffb1154a3a514a9ee5.tar.xz |
BlockchainDB: Add virtual function declarations for batch transactions
Diffstat (limited to 'src/cryptonote_core/blockchain_db.h')
-rw-r--r-- | src/cryptonote_core/blockchain_db.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain_db.h b/src/cryptonote_core/blockchain_db.h index 02620c406..25e9781f8 100644 --- a/src/cryptonote_core/blockchain_db.h +++ b/src/cryptonote_core/blockchain_db.h @@ -347,6 +347,9 @@ public: // release db lock virtual void unlock() = 0; + virtual void batch_start() = 0; + virtual void batch_stop() = 0; + virtual void set_batch_transactions(bool) = 0; // adds a block with the given metadata to the top of the blockchain, returns the new height // NOTE: subclass implementations of this (or the functions it calls) need |