Skip to main content

Module insert_backoff_gate_tx

Module insert_backoff_gate_tx 

Source
Expand description

Compiler pass - pair every wire::Send op with an upstream BackoffGateTx syscall. The gate consults [crate::framework::BackoffTable] and drops sends to peers currently in cooldown.

Runs after insert_peer_health_gate_tx so the chain is PeerHealthGateTx → BackoffGateTx → wire::Send: peer-health denies fire first (blocklist / allowlist), backoff cooldown second (transient retry suppression).

Constants§

GATED_KEY
Idempotence stamp on the gated Send.

Functions§

insert_backoff_gate_tx
Insert a BackoffGateTx upstream of every wire::Send that carries a destination peer attribute.