Skip to main content

Module outbound_queue

Module outbound_queue 

Source
Expand description

OutboundQueue - FIFO of wire envelopes ready to ship.

Used by Phase 8 of the engine’s poll cycle: drained on each cycle into EngineStep::SendEnvelope outputs. Carries an optional FIFO-drop cap (NodeConfig.max_outbound_queue); when a push would exceed the cap, the oldest envelope is evicted and a counter increments. Phase 8 reads + resets the counter to emit EngineStep::OutboundDropped { count }.

Structs§

OutboundQueue
FIFO of wire envelopes ready to ship.