Module bip152

Expand description

BIP152 Compact Blocks

Implementation of compact blocks data structure and algorithms.

Structs§

BlockTransactions
A BlockTransactions structure is used to provide some of the transactions in a block, as requested.
BlockTransactionsRequest
A BlockTransactionsRequest structure is used to list transaction indexes in a block being requested.
HeaderAndShortIds
A structure to relay a block header, short IDs, and a select few transactions.
PrefilledTransaction
A PrefilledTransaction structure is used in HeaderAndShortIds to provide a list of a few transactions explicitly.
ShortId
Short transaction IDs are used to represent a transaction without sending a full 256-bit hash.
TxIndexOutOfRangeError
A transaction index is requested that is out of range from the corresponding block.

Enums§

Error
A BIP-152 error