mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 02:33:24 -03:00
log: add LoadBlockIndex() message for assumedvalid blocks
I found this useful during unittest debugging.
This commit is contained in:
parent
d96c59cc5c
commit
7300ced9de
1 changed files with 2 additions and 0 deletions
|
@ -4353,6 +4353,8 @@ bool ChainstateManager::LoadBlockIndex()
|
|||
assert(any_chain([](auto chainstate) { return !chainstate->reliesOnAssumedValid(); }));
|
||||
|
||||
first_assumed_valid_height = block->nHeight;
|
||||
LogPrintf("Saw first assumedvalid block at height %d (%s)\n",
|
||||
first_assumed_valid_height, block->ToString());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue