bsc/p2p
Nishant Das 7a63faf734
p2p/discover: add helper methods to UDPv5 (#20918)
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.
2020-04-16 15:58:37 +02:00
..
discover p2p/discover: add helper methods to UDPv5 (#20918) 2020-04-16 15:58:37 +02:00
discv5 build: upgrade to golangci-lint 1.24.0 (#20901) 2020-04-08 11:07:29 +03:00
dnsdisc p2p/dnsdisc: re-check tree root when leaf resolution fails (#20682) 2020-02-17 15:23:25 +01:00
enode les, les/lespay/client: add service value statistics and API (#20837) 2020-04-09 11:55:32 +02:00
enr core/forkid: implement the forkid EIP, announce via ENR (#19738) 2019-07-08 18:53:47 +03:00
nat build: use golangci-lint (#20295) 2019-11-18 10:49:17 +02:00
netutil p2p/netutil: fix staticcheck warning (#20315) 2019-11-19 11:17:41 +02:00
simulations p2p: new dial scheduler (#20592) 2020-02-13 11:10:03 +01:00
testing p2p/discv5, p2p/testing: add missing Timer.Stop calls in tests (#20869) 2020-04-02 16:03:40 +02:00
dial_test.go p2p: new dial scheduler (#20592) 2020-02-13 11:10:03 +01:00
dial.go p2p: new dial scheduler (#20592) 2020-02-13 11:10:03 +01:00
message_test.go all: fix go vet warnings 2016-04-15 11:17:27 +02:00
message.go p2p: measure subprotocol bandwidth usage 2019-09-27 18:00:25 +03:00
metrics.go p2p: remove MeteredPeerEvent (#20679) 2020-02-17 13:22:14 +02:00
peer_error.go p2p: fix some golint warnings (#16577) 2018-05-08 13:08:43 +02:00
peer_test.go p2p: new dial scheduler (#20592) 2020-02-13 11:10:03 +01:00
peer.go p2p: remove MeteredPeerEvent (#20679) 2020-02-17 13:22:14 +02:00
protocol.go cmd/devp2p, p2p: dial using node iterator, discovery crawler (#20132) 2019-10-29 17:08:57 +02:00
rlpx_test.go p2p: remove useless parameter (#19433) 2019-04-10 11:49:02 +03:00
rlpx.go p2p: remove MeteredPeerEvent (#20679) 2020-02-17 13:22:14 +02:00
server_test.go all: fix goroutine leaks in unit tests by adding 1-elem channel buffer (#20666) 2020-02-17 17:33:11 +01:00
server.go p2p/server: add UDP port mapping goroutine to wait group (#20846) 2020-04-01 18:00:33 +02:00
util_test.go p2p: new dial scheduler (#20592) 2020-02-13 11:10:03 +01:00
util.go p2p: new dial scheduler (#20592) 2020-02-13 11:10:03 +01:00