mirror of https://github.com/poanetwork/gecko.git
18 lines
407 B
Go
18 lines
407 B
Go
// (c) 2019-2020, Ava Labs, Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package node
|
|
|
|
import (
|
|
"github.com/ava-labs/gecko/ids"
|
|
"github.com/ava-labs/gecko/utils"
|
|
)
|
|
|
|
// Peer contains the specification of an Ava node that can be communicated with.
|
|
type Peer struct {
|
|
// IP of the peer
|
|
IP utils.IPDesc
|
|
// ID of the peer that can be verified during a handshake
|
|
ID ids.ShortID
|
|
}
|