refactor: ReadNodeScore does not need to be in the interface
This commit is contained in:
parent
62fb8da6aa
commit
27cc49fb45
|
@ -18,7 +18,6 @@ type P2PService interface {
|
|||
ConnectToNode(connectionUris []*url.URL, retried bool) error
|
||||
OnNewPeer(peer net.Peer, verifyId bool) error
|
||||
OnNewPeerListen(peer net.Peer, verifyId bool)
|
||||
ReadNodeScore(nodeId *encoding.NodeId) (NodeVotes, error)
|
||||
GetNodeScore(nodeId *encoding.NodeId) (float64, error)
|
||||
SortNodesByScore(nodes []*encoding.NodeId) ([]*encoding.NodeId, error)
|
||||
SignMessageSimple(message []byte) ([]byte, error)
|
||||
|
|
Loading…
Reference in New Issue