mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-25 06:37:46 +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