SenderRateLimitConfig

From wikieduonline
Revision as of 10:43, 20 September 2024 by Welcome (talk | contribs)
Jump to navigation Jump to search
 // SenderRateLimitConfig configures the sender-based rate limiter
 // for [[eth_sendRawTransaction]] requests.
 // To enable pre-eip155 transactions, add '0' to allowed_chain_ids.
 type SenderRateLimitConfig struct {
	Enabled         bool
	Interval        TOMLDuration
	Limit           int
	AllowedChainIds []*big.Int `toml:"allowed_chain_ids"`
 }

See also

Advertising: