fix: need to export methods for now

This commit is contained in:
Derrick Hammer 2024-01-07 03:54:50 -05:00
parent b8cb37f99e
commit cb23f21ecc
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 4 deletions

View File

@ -14,9 +14,9 @@ type P2PService interface {
Stop() error Stop() error
Init() error Init() error
ConnectToNode(connectionUris []*url.URL, retried bool) error ConnectToNode(connectionUris []*url.URL, retried bool) error
onNewPeer(peer *net.Peer, verifyId bool) error OnNewPeer(peer *net.Peer, verifyId bool) error
onNewPeerListen(peer *net.Peer, verifyId bool) OnNewPeerListen(peer *net.Peer, verifyId bool)
readNodeScore(nodeId *encoding.NodeId) (NodeVotes, error) ReadNodeScore(nodeId *encoding.NodeId) (NodeVotes, error)
getNodeScore(nodeId *encoding.NodeId) (float64, error) GetNodeScore(nodeId *encoding.NodeId) (float64, error)
SortNodesByScore(nodes []*encoding.NodeId) ([]*encoding.NodeId, error) SortNodesByScore(nodes []*encoding.NodeId) ([]*encoding.NodeId, error)
} }