Asks a server for the checkpoint block and compares its hash.
This does not prove the newest blocks, but a server on the other chain, or one that has not reached the split yet, fails it. A network without a checkpoint (testnet, regtest) passes.
{ok: true}, or why the server cannot be trusted
{ok: true}
Asks a server for the checkpoint block and compares its hash.
This does not prove the newest blocks, but a server on the other chain, or one that has not reached the split yet, fails it. A network without a checkpoint (testnet, regtest) passes.