mirror of
https://github.com/logos-storage/logos-storage-nim-dht.git
synced 2026-01-07 16:03:09 +00:00
exposing ProvidersProtocol and underlying Discovery
This commit is contained in:
parent
86328cd17e
commit
43a27ed997
@ -14,9 +14,9 @@ import
|
|||||||
libp2p/protobuf/minprotobuf
|
libp2p/protobuf/minprotobuf
|
||||||
|
|
||||||
type
|
type
|
||||||
ProvidersProtocol = ref object
|
ProvidersProtocol* = ref object
|
||||||
providers: Table[NodeId, seq[PeerRecord]]
|
providers: Table[NodeId, seq[PeerRecord]]
|
||||||
discovery: protocol.Protocol
|
discovery*: protocol.Protocol
|
||||||
|
|
||||||
AddProviderMessage* = object
|
AddProviderMessage* = object
|
||||||
cId: NodeId
|
cId: NodeId
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user