Skip to main content

Module config

Module config 

Source
Expand description

Configuration for Zebra’s network communication.

ModulesΒ§

cache_dir πŸ”’
Cache directory configuration for zebra-network.

StructsΒ§

Config
Configuration for networking code.
DConfig πŸ”’
DTestnetParameters πŸ”’

EnumsΒ§

CacheDir
A cache directory config field.
DNetwork πŸ”’
Network configuration used during deserialization.

ConstantsΒ§

DEFAULT_MAINNET_PEERS πŸ”’
Public DNS seed endpoints, also used to isolate configured networks.
DEFAULT_TESTNET_PEERS πŸ”’
MAX_SINGLE_SEED_PEER_DNS_RETRIES πŸ”’
The number of times Zebra will retry each initial peer’s DNS resolution, before checking if any other initial peers have returned addresses.

FunctionsΒ§

build_configured_testnet πŸ”’
build_regtest_params πŸ”’
is_default_initial_peer πŸ”’
Returns true for a public DNS seed hostname, regardless of case, trailing dot, or port.
merge_funding_streams πŸ”’
Merge legacy streams before the current list, preserving omission and explicit disable.