plugeth/p2p/discover/v5wire
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
..
testdata p2p/discover: implement v5.1 wire protocol (#21647) 2020-10-14 12:28:17 +02:00
crypto_test.go p2p/discover: implement v5.1 wire protocol (#21647) 2020-10-14 12:28:17 +02:00
crypto.go p2p/discover: implement v5.1 wire protocol (#21647) 2020-10-14 12:28:17 +02:00
encoding_test.go p2p/discover: add more packet information in logs (#26307) 2023-01-03 12:36:38 +01:00
encoding.go p2p/discover: pass invalid discv5 packets to Unhandled channel (#26699) 2023-03-14 12:40:40 +01:00
msg.go p2p/discover: concurrent TALKREQ handling (#27112) 2023-04-28 11:03:43 +02:00
session.go common/lru: add generic LRU implementation (#26162) 2022-11-14 15:41:56 +01:00