p2p: EIP-8 changes

This commit is contained in:
Felix Lange
2015-12-23 01:48:55 +01:00
parent ee1debda53
commit 7d8155714b
4 changed files with 449 additions and 155 deletions

View File

@ -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.