mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-06-28 05:19:28 +00:00
Add auto relay in c binding
This commit is contained in:
parent
fac2113381
commit
a53d93f703
@ -64,7 +64,9 @@ proc getDebug(
|
||||
if storage[].autonatService.isSome:
|
||||
$storage[].autonatService.get.networkReachability
|
||||
else:
|
||||
"unknown"
|
||||
"unknown",
|
||||
"relayRunning":
|
||||
storage[].autoRelayService.isSome and storage[].autoRelayService.get.isRunning,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@ -57,7 +57,7 @@ type
|
||||
taskpool: Taskpool
|
||||
# Expose to make reachability accessible from rest api
|
||||
autonatService*: Option[AutonatV2Service]
|
||||
autoRelayService: Option[AutoRelayService]
|
||||
autoRelayService*: Option[AutoRelayService]
|
||||
natMapper: Option[NatMapper]
|
||||
natRouter*: Option[NatRouter]
|
||||
isStarted: bool
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user