Also pass the proper chain tip from ActivateBestChainStep. this ensure that we know the whole extent of the chain.
Changed the error message to reflect the fact that there is no guarantee that the chain is valid at all.
Differential D1950
Use CheckForkWarningConditionsOnNewFork from FindMostWorkChain deadalnix on Oct 20 2018, 19:45. Authored by
Details
Also pass the proper chain tip from ActivateBestChainStep. this ensure that we know the whole extent of the chain. Changed the error message to reflect the fact that there is no guarantee that the chain is valid at all. make check ./src/bitcoind -regtest -printtoconsole ./src/bitcoin-cli generate 100 ./src/bitcoin-cli invalidateblock <block hash that is 6+ block deep> Check that the alert message triggers now.
Diff Detail
Event Timeline |