Skip to content

Commit

Permalink
BlockchainDB: Add virtual function declarations for batch transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
warptangent committed Feb 23, 2015
1 parent b7a2d84 commit 7a66b8b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cryptonote_core/blockchain_db.h
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,9 @@ class BlockchainDB
// 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
Expand Down

0 comments on commit 7a66b8b

Please sign in to comment.