Skip to main content

Module config

Module config 

Source
Expand description

Configuration used by various modules of router

Structs§

Configuration
General router configuration
WebsocketConf
Configuration for the WebSocket connection.

Enums§

CommitmentLevel
An attribute of a slot. It describes how finalized a block is at some point in time. For example, a slot is said to be at the max level immediately after the cluster recognizes the block at that slot as finalized. When querying the ledger state, use lower levels of commitment to report progress and higher levels to ensure state changes will not be rolled back.

Functions§

deserialize_duration
Deserialize std::time::Duration from human readable string