mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-15 06:28:20 +00:00
53523b3eef
* update ethereumapis from https://github.com/prysmaticlabs/ethereumapis/pull/55 * add stub for https://github.com/prysmaticlabs/prysm/issues/4141 * Add ListPeers API call * Merge * Add comment for exported method * Fix visibility of new peers package. * Merge branch 'master' into peersapi
13 lines
242 B
Go
13 lines
242 B
Go
package peers
|
|
|
|
import (
|
|
"github.com/libp2p/go-libp2p-core/network"
|
|
"github.com/libp2p/go-libp2p-core/peer"
|
|
)
|
|
|
|
// Info provides information about a peer connection.
|
|
type Info struct {
|
|
AddrInfo *peer.AddrInfo
|
|
Direction network.Direction
|
|
}
|