mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 10:01:02 +00:00
BlockchainDB: Add virtual function declarations for batch transactions
This commit is contained in:
parent
b7a2d84919
commit
7a66b8bbcf
1 changed files with 3 additions and 0 deletions
|
@ -347,6 +347,9 @@ public:
|
||||||
// release db lock
|
// release db lock
|
||||||
virtual void unlock() = 0;
|
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
|
// 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
|
// NOTE: subclass implementations of this (or the functions it calls) need
|
||||||
|
|
Loading…
Reference in a new issue