plugeth/p2p
lightclient 645b0db98e
cmd/utils, p2p: clean up discovery setup (#27518)
This simplifies the code that initializes the discovery a bit, and
adds new flags for enabling/disabling discv4 and discv5 separately.

---------

Co-authored-by: Felix Lange <fjl@twurst.com>
2023-07-11 21:21:32 +02:00
..
discover p2p, p2p/discover: add dial metrics (#27621) 2023-07-06 16:20:31 +02:00
dnsdisc p2p: use slices package for sorting (#27494) 2023-06-19 07:48:12 +02:00
enode p2p: initialize maps with known size (#27229) 2023-05-10 10:52:26 +02:00
enr p2p/discover: improve discv5 NODES response packing (#26033) 2022-11-07 19:19:02 +01:00
msgrate p2p: initialize maps with known size (#27229) 2023-05-10 10:52:26 +02:00
nat p2p/nat: handle responses with alternative port in NAT-PMP (#26321) 2022-12-07 16:22:04 +01:00
netutil p2p: initialize maps with known size (#27229) 2023-05-10 10:52:26 +02:00
nodestate p2p: initialize maps with known size (#27229) 2023-05-10 10:52:26 +02:00
rlpx all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
simulations node: remove unused error return from Attach (#27450) 2023-06-14 08:24:47 -04:00
tracker all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
dial_test.go p2p: initialize maps with known size (#27229) 2023-05-10 10:52:26 +02:00
dial.go p2p, p2p/discover: add dial metrics (#27621) 2023-07-06 16:20:31 +02:00
message_test.go p2p: move rlpx into separate package (#21464) 2020-09-22 10:17:39 +02:00
message.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
metrics.go p2p, p2p/discover: add dial metrics (#27621) 2023-07-06 16:20:31 +02:00
peer_error.go p2p: use errors.Is for error comparison (#24882) 2022-06-07 17:27:21 +02:00
peer_test.go p2p: move rlpx into separate package (#21464) 2020-09-22 10:17:39 +02:00
peer.go p2p: use slices package for sorting (#27494) 2023-06-19 07:48:12 +02:00
protocol.go p2p: use slices package for sorting (#27494) 2023-06-19 07:48:12 +02:00
server_test.go p2p, p2p/discover: add dial metrics (#27621) 2023-07-06 16:20:31 +02:00
server.go cmd/utils, p2p: clean up discovery setup (#27518) 2023-07-11 21:21:32 +02:00
transport_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
transport.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
util_test.go p2p: new dial scheduler (#20592) 2020-02-13 11:10:03 +01:00
util.go all: assign zero after resize in implementations of heap.Interface (#26296) 2022-12-05 13:49:54 +01:00