Skip to main content

config

Function config 

pub fn config(layout: impl Layout<PublicKey> + Clone) -> NodeConfig
Expand description

Returns the NodeConfig of a node on layout, with its policy().

The config’s layout is layout too, so Node::claim_path grants a peer the paths layout says it owns.