mirror of
https://github.com/monero-project/monero.git
synced 2025-08-22 23:35:06 -04:00
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:
parent
2cd4d7dd20
commit
6e170c8b78
6 changed files with 8 additions and 8 deletions
|
@ -1820,7 +1820,7 @@ bool BlockchainLMDB::has_key_image(const crypto::key_image& img) const
|
|||
return false;
|
||||
}
|
||||
|
||||
void BlockchainLMDB::batch_start()
|
||||
void BlockchainLMDB::batch_start(uint64_t batch_num_blocks)
|
||||
{
|
||||
LOG_PRINT_L3("BlockchainLMDB::" << __func__);
|
||||
if (! m_batch_transactions)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue