diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-02-19 18:53:50 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-02-19 18:53:50 +0800 |
commit | 17649edd85b98f00f781415ff02da8441e52db99 (patch) | |
tree | a19b7765292e768933d4aade498fc6e711c0ef84 /p2p/peer.go | |
parent | aa36a6ae4f24f07e2c470a21c93ff37ad5861982 (diff) | |
parent | 7d8155714b41cda27fd2c860361c36d33e89d0a9 (diff) | |
download | go-tangerine-17649edd85b98f00f781415ff02da8441e52db99.tar go-tangerine-17649edd85b98f00f781415ff02da8441e52db99.tar.gz go-tangerine-17649edd85b98f00f781415ff02da8441e52db99.tar.bz2 go-tangerine-17649edd85b98f00f781415ff02da8441e52db99.tar.lz go-tangerine-17649edd85b98f00f781415ff02da8441e52db99.tar.xz go-tangerine-17649edd85b98f00f781415ff02da8441e52db99.tar.zst go-tangerine-17649edd85b98f00f781415ff02da8441e52db99.zip |
Merge pull request #2226 from fjl/eip-8
p2p, p2p/discover: 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. |