Skip to content

Commit 384b8c7

Browse files
committed
Merge branch 'feature/p2p-protocol-interface' of https://github.com/fjl/go-ethereum into fjl-feature/p2p-protocol-interface
2 parents 710360b + cfd7e74 commit 384b8c7

22 files changed

Lines changed: 1985 additions & 2378 deletions

‎p2p/client_identity.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import (
55
"runtime"
66
)
77

8-
// should be used in Peer handleHandshake, incorporate Caps, ProtocolVersion, Pubkey etc.
8+
// ClientIdentity represents the identity of a peer.
99
type ClientIdentity interface {
10-
String() string
11-
Pubkey() []byte
10+
String() string // human readable identity
11+
Pubkey() []byte // 512-bit public key
1212
}
1313

1414
type SimpleClientIdentity struct {

‎p2p/connection.go‎

Lines changed: 0 additions & 275 deletions
This file was deleted.

0 commit comments

Comments
 (0)