mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
BlockchainDB: Add virtual function declarations for batch transactions
This commit is contained in:
parent
b7a2d84919
commit
7a66b8bbcf
@ -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 New Issue
Block a user