go-ethereum/p2p/discover/v4wire
Felix Lange 3e6f46caec
p2p/discover/v4wire: use optional RLP field for EIP-868 seq (#22842)
This changes the definitions of Ping and Pong, adding an optional field
for the sequence number. This field was previously encoded/decoded using
the "tail" struct tag, but using "optional" is much nicer.
2021-05-18 11:48:41 +02:00
..
v4wire_test.go p2p/discover/v4wire: use optional RLP field for EIP-868 seq (#22842) 2021-05-18 11:48:41 +02:00
v4wire.go p2p/discover/v4wire: use optional RLP field for EIP-868 seq (#22842) 2021-05-18 11:48:41 +02:00