Re-exportsยง
pub use super::msg_set::MsgSetLimits;pub use super::msg_set::StrictnessPolicy;
Structsยง
- Caches ๐
- Caches owned by
MessagePool. - Message
Pool - This contains all necessary information needed for the message pool. Keeps track of messages to apply, as well as context needed for verifying transactions.
- State
Nonce ๐Cache Key
Enumsยง
- Trust
Policy ๐ - Trust policy for whether a message is from a trusted or untrusted source. Untrusted sources are subject to stricter limits.
Constantsยง
- BLS_
SIG_ ๐CACHE_ SIZE - KEY_
CACHE_ ๐SIZE - MAX_
ACTOR_ ๐PENDING_ MESSAGES - MAX_
MESSAGE_ ๐SIZE - Maximum size of a serialized message in bytes. Anti-DoS measure to keep the pool from ingesting pathologically large messages.
- MAX_
UNTRUSTED_ ๐ACTOR_ PENDING_ MESSAGES - SIG_
VAL_ ๐CACHE_ SIZE - STATE_
NONCE_ ๐CACHE_ SIZE
Functionsยง
- check_
base_ ๐fee_ floor - Base-Fee floor check.
- resolve_
to_ ๐key - Resolve an address to its key form, checking the cache first. Non-ID addresses are returned unchanged.
- validate_
signature ๐ - validate_
static ๐ - validate_
with_ ๐state - Check the message against the pre-resolved chain state.