From 7d8155714b41cda27fd2c860361c36d33e89d0a9 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Wed, 23 Dec 2015 01:48:55 +0100 Subject: p2p: EIP-8 changes --- p2p/peer.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'p2p/peer.go') diff --git a/p2p/peer.go b/p2p/peer.go index 72ed4069c..b9d6c099d 100644 --- a/p2p/peer.go +++ b/p2p/peer.go @@ -56,6 +56,9 @@ type protoHandshake struct { Caps []Cap ListenPort uint64 ID discover.NodeID + + // Ignore additional fields (for forward compatibility). + Rest []rlp.RawValue `rlp:"tail"` } // Peer represents a connected remote node. -- cgit