Add a userdata field to the DaemonAPI to support attaching application data

This commit is contained in:
Zahary Karadjov 2019-03-11 11:31:02 +02:00 committed by zah
parent a736334fe1
commit d21953e458
1 changed files with 1 additions and 0 deletions

View File

@ -121,6 +121,7 @@ type
servers*: seq[P2PServer] servers*: seq[P2PServer]
log*: string log*: string
loggerFut*: Future[void] loggerFut*: Future[void]
userData*: RootRef
PeerInfo* = object PeerInfo* = object
peer*: PeerID peer*: PeerID