Document assumptions made in PeerLogicValidation::SendMessages(...)
and rescanblockchain(...)
via assertions.
The fact that pBestIndex != nullptr
and stopBlock != nullptr
in these contexts is not immediately obvious. Explicit is better than implicit.