haskoin-node-0.3.1: Implementation of a Bitoin node.

Safe HaskellNone
LanguageHaskell98

Network.Haskoin.Node.Checkpoints

Synopsis

Documentation

checkpointMap :: IntMap BlockHash Source

Checkpoints from bitcoind reference implementation srccheckpoints.cpp presented as an IntMap.

checkpointList :: [(Int, BlockHash)] Source

Checkpoints from bitcoind reference implementation srccheckpoints.cpp presented as a list.

verifyCheckpoint :: Int -> BlockHash -> Bool Source

Verify that a block hash at a given height either matches an existing checkpoint or is not a checkpoint.