aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/lmdb/db_lmdb.h
diff options
context:
space:
mode:
authorwarptangent <warptangent@inbox.com>2015-07-11 12:28:20 -0700
committerwarptangent <warptangent@inbox.com>2015-07-11 23:54:12 -0700
commit6e170c8b786a443bfece65f28e33d1b5455b269c (patch)
tree678f5130753aa75c507b5b5ecb669e1d79dab936 /src/blockchain_db/lmdb/db_lmdb.h
parentMerge pull request #329 (diff)
downloadmonero-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/lmdb/db_lmdb.h')
-rw-r--r--src/blockchain_db/lmdb/db_lmdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.h b/src/blockchain_db/lmdb/db_lmdb.h
index 6a2646816..6c82939c8 100644
--- a/src/blockchain_db/lmdb/db_lmdb.h
+++ b/src/blockchain_db/lmdb/db_lmdb.h
@@ -191,7 +191,7 @@ public:
);
virtual void set_batch_transactions(bool batch_transactions);
- virtual void batch_start();
+ virtual void batch_start(uint64_t batch_num_blocks=0);
virtual void batch_commit();
virtual void batch_stop();
virtual void batch_abort();