• Felix Lange's avatar
    p2p/discover: concurrent TALKREQ handling (#27112) · 47cdea5a
    Felix Lange authored
    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.
    47cdea5a
Name
Last commit
Last update
..
discover Loading commit data...
dnsdisc Loading commit data...
enode Loading commit data...
enr Loading commit data...
msgrate Loading commit data...
nat Loading commit data...
netutil Loading commit data...
nodestate Loading commit data...
rlpx Loading commit data...
simulations Loading commit data...
tracker Loading commit data...
dial.go Loading commit data...
dial_test.go Loading commit data...
message.go Loading commit data...
message_test.go Loading commit data...
metrics.go Loading commit data...
peer.go Loading commit data...
peer_error.go Loading commit data...
peer_test.go Loading commit data...
protocol.go Loading commit data...
server.go Loading commit data...
server_test.go Loading commit data...
transport.go Loading commit data...
transport_test.go Loading commit data...
util.go Loading commit data...
util_test.go Loading commit data...