Skip to content

Commit

Permalink
Merge pull request #862 from notlesh/add_num_nodes_known_to_dumpstate
Browse files Browse the repository at this point in the history
Add numNodesKnown to llarp.admin.dumpstate RPC endpoint
  • Loading branch information
majestrate committed Oct 14, 2019
2 parents 8e8abbc + b1da46e commit 03ca67e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llarp/router/router.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ namespace llarp
{
return util::StatusObject{
{"running", true},
{"numNodesKnown", _nodedb->num_loaded()},
{"dht", _dht->impl->ExtractStatus()},
{"services", _hiddenServiceContext.ExtractStatus()},
{"exit", _exitContext.ExtractStatus()},
Expand Down

0 comments on commit 03ca67e

Please sign in to comment.