diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-07-15 00:53:35 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-07-15 00:53:45 +0200 |
commit | 9688e6fdd896f4034b1c0dd40c406cd83880f830 (patch) | |
tree | 9d74a8f9bfcf3e9c816feda1b9d720471886ad9d /src/blockchain_utilities/blockchain_converter.cpp | |
parent | Merge pull request #333 (diff) | |
parent | Check and resize if needed at batch transaction start (diff) | |
download | monero-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_utilities/blockchain_converter.cpp')
-rw-r--r-- | src/blockchain_utilities/blockchain_converter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blockchain_utilities/blockchain_converter.cpp b/src/blockchain_utilities/blockchain_converter.cpp index 855dde644..d18ce8789 100644 --- a/src/blockchain_utilities/blockchain_converter.cpp +++ b/src/blockchain_utilities/blockchain_converter.cpp @@ -236,7 +236,7 @@ int main(int argc, char* argv[]) } if (opt_batch) - blockchain->batch_start(); + blockchain->batch_start(db_batch_size); uint64_t i = 0; for (i = start_block; i < end_block + 1; ++i) { @@ -277,7 +277,7 @@ int main(int argc, char* argv[]) std::cout << "\r \r"; std::cout << "[- batch commit at height " << i + 1 << " -]" << ENDL; blockchain->batch_stop(); - blockchain->batch_start(); + blockchain->batch_start(db_batch_size); std::cout << ENDL; blockchain->show_stats(); } |