mirror of
https://github.com/codex-storage/nim-codex-dht.git
synced 2025-01-25 03:10:27 +00:00
16 lines
266 B
Nim
16 lines
266 B
Nim
import
|
|
../discv5/[node],
|
|
libp2p/routing_record
|
|
|
|
type
|
|
AddProviderMessage* = object
|
|
cId*: NodeId
|
|
prov*: SignedPeerRecord
|
|
|
|
GetProvidersMessage* = object
|
|
cId*: NodeId
|
|
|
|
ProvidersMessage* = object
|
|
total*: uint32
|
|
provs*: seq[SignedPeerRecord]
|