aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/client_identity.go
diff options
context:
space:
mode:
Diffstat (limited to 'p2p/client_identity.go')
-rw-r--r--p2p/client_identity.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/p2p/client_identity.go b/p2p/client_identity.go
index 236b23106..bc865b63b 100644
--- a/p2p/client_identity.go
+++ b/p2p/client_identity.go
@@ -5,10 +5,10 @@ import (
"runtime"
)
-// should be used in Peer handleHandshake, incorporate Caps, ProtocolVersion, Pubkey etc.
+// ClientIdentity represents the identity of a peer.
type ClientIdentity interface {
- String() string
- Pubkey() []byte
+ String() string // human readable identity
+ Pubkey() []byte // 512-bit public key
}
type SimpleClientIdentity struct {