[][src]Module tmkms::client

The KMS makes outbound connections to the validator, and is technically a client, however once connected it accepts incoming RPCs, and otherwise acts as a service.

To dance around the fact the KMS isn't actually a service, we refer to it as a "Key Management System".

Structs

Client

Client connections: wraps a thread which makes a connection to a particular validator node and then receives RPCs.

Constants

RESPAWN_DELAY

How long to wait after a crash before respawning (in seconds)

Functions

register_chain

Ensure chain with given ID is properly registered

run_client

Open a new session and run the session loop