mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge 3c856e2fe8 into merged_master (Bitcoin PR bitcoin/bitcoin#28569)
This commit is contained in:
commit
89ca1f9416
1 changed files with 2 additions and 2 deletions
|
|
@ -6186,8 +6186,8 @@ void ChainstateManager::MaybeRebalanceCaches()
|
|||
assert(ibd_usable || snapshot_usable);
|
||||
|
||||
if (ibd_usable && !snapshot_usable) {
|
||||
LogPrintf("[snapshot] allocating all cache to the IBD chainstate\n");
|
||||
// Allocate everything to the IBD chainstate.
|
||||
// Allocate everything to the IBD chainstate. This will always happen
|
||||
// when we are not using a snapshot.
|
||||
m_ibd_chainstate->ResizeCoinsCaches(m_total_coinstip_cache, m_total_coinsdb_cache);
|
||||
}
|
||||
else if (snapshot_usable && !ibd_usable) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue