exposing ProvidersProtocol and underlying Discovery

This commit is contained in:
Csaba Kiraly 2022-02-15 15:00:15 +01:00
parent 86328cd17e
commit 43a27ed997
1 changed files with 2 additions and 2 deletions

View File

@ -14,9 +14,9 @@ import
libp2p/protobuf/minprotobuf
type
ProvidersProtocol = ref object
ProvidersProtocol* = ref object
providers: Table[NodeId, seq[PeerRecord]]
discovery: protocol.Protocol
discovery*: protocol.Protocol
AddProviderMessage* = object
cId: NodeId