aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/berkeleydb/db_bdb.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-07-15 00:53:35 +0200
committerRiccardo Spagni <ric@spagni.net>2015-07-15 00:53:45 +0200
commit9688e6fdd896f4034b1c0dd40c406cd83880f830 (patch)
tree9d74a8f9bfcf3e9c816feda1b9d720471886ad9d /src/blockchain_db/berkeleydb/db_bdb.h
parentMerge pull request #333 (diff)
parentCheck and resize if needed at batch transaction start (diff)
downloadmonero-9688e6fdd896f4034b1c0dd40c406cd83880f830.tar.xz
Merge pull request #334
fd73d9c Check and resize if needed at batch transaction start (warptangent) f9e4afd blockchain_utilities: Increase debug statement's log level (warptangent) 699e4b3 blockchain_utilities: Pass expected number of blocks when starting batch (warptangent) 6e170c8 Optionally allow DB to know expected number of blocks at batch transaction start (warptangent)
Diffstat (limited to 'src/blockchain_db/berkeleydb/db_bdb.h')
-rw-r--r--src/blockchain_db/berkeleydb/db_bdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_db/berkeleydb/db_bdb.h b/src/blockchain_db/berkeleydb/db_bdb.h
index 83588b031..da57cabb1 100644
--- a/src/blockchain_db/berkeleydb/db_bdb.h
+++ b/src/blockchain_db/berkeleydb/db_bdb.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();