plugeth/p2p/discover/v5wire
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
..
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: add config option for discv5 protocol ID (#26041) 2022-11-30 22:03:34 +01:00
msg.go p2p/discover: add more packet information in logs (#26307) 2023-01-03 12:36:38 +01:00
session.go common/lru: add generic LRU implementation (#26162) 2022-11-14 15:41:56 +01:00