mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-08 03:59:18 +02:00
log: add LoadBlockIndex() message for assumedvalid blocks
I found this useful during unittest debugging.
This commit is contained in:
parent
d96c59cc5c
commit
7300ced9de
@ -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…
x
Reference in New Issue
Block a user