diff options
author | warptangent <warptangent@inbox.com> | 2015-07-11 12:28:20 -0700 |
---|---|---|
committer | warptangent <warptangent@inbox.com> | 2015-07-11 23:54:12 -0700 |
commit | 6e170c8b786a443bfece65f28e33d1b5455b269c (patch) | |
tree | 678f5130753aa75c507b5b5ecb669e1d79dab936 /src/blockchain_db/blockchain_db.h | |
parent | Merge pull request #329 (diff) | |
download | monero-6e170c8b786a443bfece65f28e33d1b5455b269c.tar.xz |
Optionally allow DB to know expected number of blocks at batch transaction start
This will assist in a DB resize check.
Diffstat (limited to 'src/blockchain_db/blockchain_db.h')
-rw-r--r-- | src/blockchain_db/blockchain_db.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_db/blockchain_db.h b/src/blockchain_db/blockchain_db.h index 46c860122..c4ca328f6 100644 --- a/src/blockchain_db/blockchain_db.h +++ b/src/blockchain_db/blockchain_db.h @@ -357,7 +357,7 @@ public: // release db lock virtual void unlock() = 0; - virtual void batch_start() = 0; + virtual void batch_start(uint64_t batch_num_blocks=0) = 0; virtual void batch_stop() = 0; virtual void set_batch_transactions(bool) = 0; |