• 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
..
testdata Loading commit data...
crypto.go Loading commit data...
crypto_test.go Loading commit data...
encoding.go Loading commit data...
encoding_test.go Loading commit data...
msg.go Loading commit data...
session.go Loading commit data...