|
|
@ -17,7 +17,6 @@ type Peer struct { |
|
|
|
IP string // IP address of the peer
|
|
|
|
IP string // IP address of the peer
|
|
|
|
Port string // Port number of the peer
|
|
|
|
Port string // Port number of the peer
|
|
|
|
PubKey *bls.PublicKey // Public key of the peer, used for consensus signing
|
|
|
|
PubKey *bls.PublicKey // Public key of the peer, used for consensus signing
|
|
|
|
Ready bool // Ready is true if the peer is ready to join consensus. (FIXME: deprecated)
|
|
|
|
|
|
|
|
ValidatorID int // -1 is the default value, means not assigned any validator ID in the shard
|
|
|
|
ValidatorID int // -1 is the default value, means not assigned any validator ID in the shard
|
|
|
|
Addrs []multiaddr.Multiaddr // MultiAddress of the peer
|
|
|
|
Addrs []multiaddr.Multiaddr // MultiAddress of the peer
|
|
|
|
PeerID peer.ID // PeerID, the pubkey for communication
|
|
|
|
PeerID peer.ID // PeerID, the pubkey for communication
|
|
|
|