mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge 825f4a64e6 into merged_master (Bitcoin PR bitcoin/bitcoin#22976)
This commit is contained in:
commit
eea9829aa6
26 changed files with 93 additions and 93 deletions
|
|
@ -120,8 +120,8 @@ bool CCoinsViewDB::BatchWrite(CCoinsMap &mapCoins, const uint256 &hashBlock) {
|
|||
CDBBatch batch(*m_db);
|
||||
size_t count = 0;
|
||||
size_t changed = 0;
|
||||
size_t batch_size = (size_t)gArgs.GetArg("-dbbatchsize", nDefaultDbBatchSize);
|
||||
int crash_simulate = gArgs.GetArg("-dbcrashratio", 0);
|
||||
size_t batch_size = (size_t)gArgs.GetIntArg("-dbbatchsize", nDefaultDbBatchSize);
|
||||
int crash_simulate = gArgs.GetIntArg("-dbcrashratio", 0);
|
||||
assert(!hashBlock.IsNull());
|
||||
|
||||
uint256 old_tip = GetBestBlock();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue