mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-23 03:51:09 +00:00
7a63faf734
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. |
||
---|---|---|
.. | ||
discover | ||
discv5 | ||
dnsdisc | ||
enode | ||
enr | ||
nat | ||
netutil | ||
simulations | ||
testing | ||
dial_test.go | ||
dial.go | ||
message_test.go | ||
message.go | ||
metrics.go | ||
peer_error.go | ||
peer_test.go | ||
peer.go | ||
protocol.go | ||
rlpx_test.go | ||
rlpx.go | ||
server_test.go | ||
server.go | ||
util_test.go | ||
util.go |