mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-01-12 05:54:51 +00:00
Add a userdata field to the DaemonAPI to support attaching application data
This commit is contained in:
parent
a736334fe1
commit
d21953e458
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user