mirror of
https://github.com/filecoin-project/lotus.git
synced 2025-08-26 10:42:57 +08:00
Add lotus net scores
for pubsub score visibility
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
@ -25,6 +25,7 @@ type Common interface {
|
||||
NetAddrsListen(context.Context) (peer.AddrInfo, error)
|
||||
NetDisconnect(context.Context, peer.ID) error
|
||||
NetFindPeer(context.Context, peer.ID) (peer.AddrInfo, error)
|
||||
NetPubsubScores(context.Context) ([]PubsubScore, error)
|
||||
|
||||
// ID returns peerID of libp2p node backing this API
|
||||
ID(context.Context) (peer.ID, error)
|
||||
|
Reference in New Issue
Block a user