plugeth/p2p
Felix Lange 47cdea5ac5
p2p/discover: concurrent TALKREQ handling (#27112)
This changes TALKREQ message processing to run the handler on separate goroutine,
instead of running on the main discv5 dispatcher goroutine. It's better this way because
it allows the handler to perform blocking actions.

I'm also adding a new method TalkRequestToID here. The method allows implementing
a request flow where one node A sends TALKREQ to another node B, and node B later
sends a TALKREQ back. With TalkRequestToID, node B does not need the ENR of A to
send its request.
2023-04-28 11:03:43 +02:00
..
discover p2p/discover: concurrent TALKREQ handling (#27112) 2023-04-28 11:03:43 +02:00
dnsdisc p2p/dnsdisc: fix tests with Go 1.20 (#26690) 2023-02-14 15:58:43 +02:00
enode all: remove deprecated uses of math.rand (#26710) 2023-02-16 14:36:58 -05:00
enr p2p/discover: improve discv5 NODES response packing (#26033) 2022-11-07 19:19:02 +01:00
msgrate all: fix spelling mistakes (#25961) 2022-10-11 09:37:00 +02:00
nat p2p/nat: handle responses with alternative port in NAT-PMP (#26321) 2022-12-07 16:22:04 +01:00
netutil all: remove deprecated uses of math.rand (#26710) 2023-02-16 14:36:58 -05:00
nodestate all: fix docstrings 2022-10-04 09:18:02 +02:00
rlpx all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
simulations metrics/librato: ensure resp.body closed (#26969) 2023-03-27 07:44:41 -04:00
tracker all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
dial_test.go p2p: new dial scheduler (#20592) 2020-02-13 11:10:03 +01:00
dial.go common/mclock: add Alarm (#26333) 2023-01-03 12:10:48 +01: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 eth/protocols, prp/tracker: add support for req/rep rtt tracking (#22608) 2021-04-22 11:42:46 +03: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 errors.Is for error comparison (#24882) 2022-06-07 17:27:21 +02:00
protocol.go cmd/devp2p, p2p: dial using node iterator, discovery crawler (#20132) 2019-10-29 17:08:57 +02:00
server_test.go all: fix warning flagging the use of DeepEqual on error (#23624) 2021-10-19 17:06:47 +02:00
server.go p2p: access embedded fields of Server directly (#27078) 2023-04-18 11:57:08 +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