Module validation
Expand description
Validation of NewPooledTransactionHashes66
and NewPooledTransactionHashes68
announcements. Validation and filtering of announcements is network dependent.
Structs§
- Filter for announcements containing EIP
TxType
s. - Wrapper for types that implement
FilterAnnouncement
. The definition of a valid announcement is network dependent. For example, different networks support differentTxType
s, and differentTxType
s have different transaction size constraints. Defaults toEthMessageFilter
.
Enums§
- Outcome from filtering
NewPooledTransactionHashes68
. Signals to caller whether to penalize the sender of the announcement or not. - Outcomes from validating a
(ty, hash, size)
entry from aNewPooledTransactionHashes68
. Signals to the caller how to deal with an announcement entry and the peer who sent the announcement.
Constants§
- The size of a decoded signature in bytes.
Traits§
- Filters valid entries in
NewPooledTransactionHashes68
andNewPooledTransactionHashes66
in place, and flags misbehaving peers. - Generic filter for announcements and responses. Checks for empty message and unique hashes/ transactions in message.
- Interface for validating a
(ty, size, hash)
tuple from aNewPooledTransactionHashes68
..