Optionally allow DB to know expected number of blocks at batch transaction start

This will assist in a DB resize check.
This commit is contained in:
warptangent
2015-07-11 12:28:20 -07:00
parent 2cd4d7dd20
commit 6e170c8b78
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -1595,7 +1595,7 @@ bool BlockchainBDB::has_key_image(const crypto::key_image& img) const
// Ostensibly BerkeleyDB has batch transaction support built-in,
// so the following few functions will be NOP.
void BlockchainBDB::batch_start()
void BlockchainBDB::batch_start(uint64_t batch_num_blocks)
{
LOG_PRINT_L3("BlockchainBDB::" << __func__);
}