Skip to main content

LIGHTER_TX_BUCKET

Constant LIGHTER_TX_BUCKET 

Source
pub const LIGHTER_TX_BUCKET: &str = "lighter:tx";
Expand description

Rate-limit bucket key for the venue transaction bucket.

Lighter meters sendTx and sendTxBatch (HTTP) and the WebSocket sendTx path in one per-account bucket. Both transports share a LighterTxRateLimiter keyed on this so their combined rate stays under the single venue limit.