Skip to main content

Module rpc

Module rpc 

Source

Structsยง

ConsensusStatus
Named consensus status shared via watch channel.
PerIpRateLimiter
Prevents a single IP from monopolising submit_tx even when opening many TCP connections or HTTP requests.
RpcServer
Simple JSON-RPC server over TCP (one JSON object per line)
RpcState
Shared state accessible by the RPC server
TxRateLimiter
Token-bucket rate limiter for submit_tx.