mirror of
https://github.com/codex-storage/nim-codex-dht.git
synced 2025-02-20 23:58:09 +00:00
this is a minimal implementation, with lots of work still needed. Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
15 lines
213 B
Nim
15 lines
213 B
Nim
import
|
|
../discv5/[node]
|
|
|
|
type
|
|
AddValueMessage* = object
|
|
cId*: NodeId
|
|
value*: seq[byte]
|
|
|
|
GetValueMessage* = object
|
|
cId*: NodeId
|
|
|
|
ValueMessage* = object
|
|
#total*: uint32
|
|
value*: seq[byte]
|