BlockchainDB: Add virtual function declarations for batch transactions

This commit is contained in:
warptangent 2015-02-11 15:55:53 -08:00
parent b7a2d84919
commit 7a66b8bbcf
No known key found for this signature in database
GPG Key ID: 0E490BEBFBE4E92D
1 changed files with 3 additions and 0 deletions

View File

@ -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