Bitcoin block: header and transactions
Generates a new block
mined with the given difficulty
Representation of a Bitcoin blockchain
Structs
Bitcoin Basic Block Headers
Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.
Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.
Represents a bitcoin 32 bytes hash digest encoded in little-endian
Bitcoin transaction
Construct txs from inputs and outputs
Bitcoin transaction input
Construct transaction inputs
Bitcoin transaction output
Little-endian large integer type
256-bit unsigned integer.