Module breez_sdk_liquid::bitcoin::util::bip152
Expand description
BIP152 Compact Blocks
Implementation of compact blocks data structure and algorithms.
Structs§
- A BlockTransactions structure is used to provide some of the transactions in a block, as requested.
- A BlockTransactionsRequest structure is used to list transaction indexes in a block being requested.
- A HeaderAndShortIds structure is used to relay a block header, the short transactions IDs used for matching already-available transactions, and a select few transactions which we expect a peer may be missing.
- A PrefilledTransaction structure is used in HeaderAndShortIds to provide a list of a few transactions explicitly.
- Short transaction IDs are used to represent a transaction without sending a full 256-bit hash.
- A transaction index is requested that is out of range from the corresponding block.
Enums§
- A BIP-152 error