fedimint_server

Module config

Source
Expand description

Fedimint toplevel config

Modulesยง

api
distributedgen
io
serde_binary_human_readable
serde_tls_cert_map ๐Ÿ”’
serde_tls_key ๐Ÿ”’

Structsยง

ClientConfig
Total client config
ConfigGenParams
All the parameters necessary for generating the ServerConfig during setup
FederationId
The federation id is a copy of the authentication threshold public key of the federation
GlobalClientConfig
Federation-wide client config
JsonWithKind
serde_json::Value that must contain kind: String field
ModuleInitRegistry
PeerUrl
ServerConfig
All the serializable configuration for the fedimint server
ServerConfigConsensus
ServerConfigLocal
ServerConfigPrivate
ServerModuleConfig
Config for the server-side of a particular Federation module
ServerModuleConsensusConfig

Enumsยง

DkgPeerMessage
Things that a distributed_gen config can send between peers

Constantsยง

DEFAULT_BROADCAST_ROUNDS_PER_SESSION ๐Ÿ”’
DEFAULT_BROADCAST_ROUND_DELAY_MS ๐Ÿ”’
Consensus broadcast settings that result in 3 minutes session time
DEFAULT_MAX_CLIENT_CONNECTIONS
The default maximum open connections the API can handle
DEFAULT_TEST_BROADCAST_ROUNDS_PER_SESSION ๐Ÿ”’
DEFAULT_TEST_BROADCAST_ROUND_DELAY_MS ๐Ÿ”’
Consensus broadcast settings that result in 10 seconds session time

Traitsยง

TypedServerModuleConfig
Module (server side) config, typed

Functionsยง

default_broadcast_rounds_per_session ๐Ÿ”’
gen_cert_and_key
max_connections