pd::network::join

Function network_join

source
pub async fn network_join(
    output_dir: PathBuf,
    node: Url,
    node_name: &str,
    external_address: Option<Address>,
    tm_rpc_bind: SocketAddr,
    tm_p2p_bind: SocketAddr,
) -> Result<()>
Expand description

Bootstrap a connection to a network, via a node on that network. Look up network peer info from the target node, and seed the tendermint p2p settings with that peer info.