• 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.

    Parameters

    Returns Promise<{
        ok: boolean;
        reason?: "wrongChain" | "unverified";
    }>

    {ok: true}, or why the server cannot be trusted