pub fn as_good(id: NodeId, addr: SocketAddr) -> Node {
        Node {
            handle: NodeHandle { id, addr },
            last_response: Some(Instant::now()),
            last_request: None,
            last_local_request: None,
            refresh_requests: 0,
        }
    }
/// Create a new node that has recently responded to us but never requested from us.
Create a new node that has recently responded to us but never requested from us.
Create a new node that has recently responded to us but never requested from us .
pub fn as_good(id: NodeId, addr: SocketAddr) -> Node {
        Node {
            handle: NodeHandle { id, addr },
            last_response: Some(Instant::now()),
            last_request: None,
            last_local_request: None,
            refresh_requests: 0,
        }
    }
pub fn as_good ( id : NodeId , addr : SocketAddr ) -> Node { Node { handle : NodeHandle { id , addr } , last_response : Some ( Instant :: now ( ) ) , last_request : None , last_local_request : None , refresh_requests : 0 , } }
Create a new node that has recently responded to us but never requested from us.
Create a new node that has recently responded to us but never requested from us .
id
NodeId
addr
SocketAddr
id
NodeId
addr
SocketAddr