pd::network

Module config

Source

Structs§

NetworkTendermintConfig
Wrapper for a TendermintConfig, with a constructor for convenient defaults.
TendermintNodeKey
TendermintPrivKey
ValidatorKeys
Collection of all keypairs required for a Penumbra validator. Used to generate a stable identity for a NetworkValidator.

Functions§

canonicalize_path
Expand tildes in a path. Modified from <https://stackoverflow.com/a/68233480>
get_network_dir
Convert an optional CLI arg into a PathBuf, defaulting to ~/.penumbra/network_data.
parse_tm_address
Construct a tendermint_config::net::Address from an optional node Id and node_address. The node_address can be an IP address or a hostname. Supports custom ports, defaulting to 26656 if not specified.
url_has_necessary_parts
Check that a Url has all the necessary parts defined for use as a CLI arg.