mirror of
https://github.com/logos-storage/logos-storage-nim-dht.git
synced 2026-01-04 06:23:05 +00:00
16 lines
267 B
Nim
16 lines
267 B
Nim
|
|
import
|
||
|
|
../eth/p2p/discoveryv5/[node],
|
||
|
|
libp2p/routing_record
|
||
|
|
|
||
|
|
type
|
||
|
|
AddProviderMessage* = object
|
||
|
|
cId*: NodeId
|
||
|
|
prov*: PeerRecord
|
||
|
|
|
||
|
|
GetProvidersMessage* = object
|
||
|
|
cId*: NodeId
|
||
|
|
|
||
|
|
ProvidersMessage* = object
|
||
|
|
total*: uint32
|
||
|
|
provs*: seq[PeerRecord]
|