pub fn new(node: Node, logger: Logger) -> Self {
        P2pTopology {
            lock: RwLock::new(Topology::new(node.0)),
            logger,
        }
    }
/// create a new P2pTopology for the given Address and Id
///
/// The address is the public
create a new P2pTopology for the given Address and Id
The address is the public
create a new P2pTopology for the given Address and Id The address is the public
pub fn new(node: Node, logger: Logger) -> Self {
        P2pTopology {
            lock: RwLock::new(Topology::new(node.0)),
            logger,
        }
    }
pub fn new ( node : Node , logger : Logger ) -> Self { P2pTopology { lock : RwLock :: new ( Topology :: new ( node . 0 ) ) , logger , } }
create a new P2pTopology for the given Address and Id
The address is the public
create a new P2pTopology for the given Address and Id The address is the public
node
Node
logger
Logger
node
Node
logger
Logger