Module broadcast
Expand description
Types for broadcasting new data.
Structs§
- A block hash and a block number.
- A new block with the current total difficulty, which includes the difficulty of the returned block.
- This informs peers of new blocks that have appeared on the network.
- This informs peers of transaction hashes for transactions that have appeared on the network, but have not been included in a block.
- Same as
NewPooledTransactionHashes66
but extends that that beside the transaction hashes, the node sends the transaction types and their sizes (as defined in EIP-2718) as well. - Data that has passed an initial validation pass that is not specific to any mempool message type.
- Hashes to request from a peer.
- Same as
Transactions
but this is intended as egress message send from local to many peers. - This informs peers of transactions that have appeared on the network and are not yet included in a block.
- Partially validated data from an announcement or a
PooledTransactions
response.
Enums§
- A wrapper type for all different new pooled transaction types
Traits§
- Validation pass that checks for unique transaction hashes.
- Interface for handling mempool message data. Used in various filters in pipelines in
TransactionsManager
and in queries toTransactionPool
. - Extension of
HandleMempoolData
interface, for mempool messages that are versioned.
Type Aliases§
- Value in
PartiallyValidData
map obtained from an announcement.