go-ethereum/cmd/devp2p/internal/v5test
Felix Lange a251bca67c
p2p/discover: add more packet information in logs (#26307)
* p2p/discover: add more packet information in logs

This adds more fields to discv5 packet logs. These can be useful when
debugging multi-packet interactions.

The FINDNODE message also gets an additional field, OpID for debugging
purposes. This field is not encoded onto the wire.

I'm also removing topic system related message types in this change.
These will come back in the future, where support for them will be
guarded by a config flag.

* p2p/discover/v5wire: rename 'Total' to 'RespCount'

The new name captures the meaning of this field better.
2023-01-03 12:36:38 +01:00
..
discv5tests.go p2p/discover: add more packet information in logs (#26307) 2023-01-03 12:36:38 +01:00
framework.go p2p/discover: add more packet information in logs (#26307) 2023-01-03 12:36:38 +01:00