diff options
author | Felix Lange <fjl@twurst.com> | 2015-12-23 08:48:55 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-02-19 18:14:48 +0800 |
commit | 7d8155714b41cda27fd2c860361c36d33e89d0a9 (patch) | |
tree | 656bc8ded88552e1ee80cd93706367686d053a32 /p2p/peer.go | |
parent | ee1debda538857747536e8baf260630183f36869 (diff) | |
download | dexon-7d8155714b41cda27fd2c860361c36d33e89d0a9.tar.gz dexon-7d8155714b41cda27fd2c860361c36d33e89d0a9.tar.zst dexon-7d8155714b41cda27fd2c860361c36d33e89d0a9.zip |
p2p: EIP-8 changes
Diffstat (limited to 'p2p/peer.go')
-rw-r--r-- | p2p/peer.go | 3 |
1 files changed, 3 insertions, 0 deletions
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. |