Hoogle Search
Within LTS Haskell 24.58 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
checkInstHeader :: HsQualType -> P (HsContext, HsQName, [HsType])haskell-src Language.Haskell.ParseUtils No documentation available.
-
haskoin-core Haskoin.Block.Common Data type recording information of a Block. The hash of a block is defined as the hash of this data structure, serialized. The block mining process involves finding a partial hash collision by varying the nonce in the BlockHeader and/or additional entropy in the coinbase Transaction of this Block. Variations in the coinbase will result in different merkle roots in the BlockHeader.
BlockHeader :: Word32 -> BlockHash -> Hash256 -> Timestamp -> Word32 -> Word32 -> BlockHeaderhaskoin-core Haskoin.Block.Common No documentation available.
type
BlockHeaderCount = (BlockHeader, VarInt)haskoin-core Haskoin.Block.Common BlockHeader type with a transaction count as VarInt
-
haskoin-core Haskoin.Block.Common Similar to the GetBlocks message type but for retrieving block headers only. The response to a GetHeaders request is a Headers message containing a list of block headers. A maximum of 2000 block headers can be returned. GetHeaders is used by simplified payment verification (SPV) clients to exclude block contents when synchronizing the block chain.
GetHeaders :: Word32 -> BlockLocator -> BlockHash -> GetHeadershaskoin-core Haskoin.Block.Common No documentation available.
class Monad m =>
BlockHeaders (m :: Type -> Type)haskoin-core Haskoin.Block.Headers Typeclass for block header chain storage monad.
addBlockHeader :: BlockHeaders m => BlockNode -> m ()haskoin-core Haskoin.Block.Headers Add a new BlockNode to the chain. Does not validate.
addBlockHeaders :: BlockHeaders m => [BlockNode] -> m ()haskoin-core Haskoin.Block.Headers Add a continuous bunch of block headers the chain. Does not validate.
getBestBlockHeader :: BlockHeaders m => m BlockNodehaskoin-core Haskoin.Block.Headers Locate the BlockNode for the highest block in the chain