• Nishant Das's avatar
    p2p/discover: add helper methods to UDPv5 (#20918) · 7a63faf7
    Nishant Das authored
    This adds two new methods to UDPv5, AllNodes and LocalNode.
    
    AllNodes returns all the nodes stored in the local table; this is
    useful for the purposes of metrics collection and also debugging any
    potential issues with other discovery v5 implementations.
    
    LocalNode returns the local node object. The reason for exposing this
    is so that users can modify and set/delete new key-value entries in
    the local record.
    7a63faf7
Name
Last commit
Last update
..
discover Loading commit data...
discv5 Loading commit data...
dnsdisc Loading commit data...
enode Loading commit data...
enr Loading commit data...
nat Loading commit data...
netutil Loading commit data...
simulations Loading commit data...
testing Loading commit data...
dial.go Loading commit data...
dial_test.go Loading commit data...
message.go Loading commit data...
message_test.go Loading commit data...
metrics.go Loading commit data...
peer.go Loading commit data...
peer_error.go Loading commit data...
peer_test.go Loading commit data...
protocol.go Loading commit data...
rlpx.go Loading commit data...
rlpx_test.go Loading commit data...
server.go Loading commit data...
server_test.go Loading commit data...
util.go Loading commit data...
util_test.go Loading commit data...