Browse Source

more addrman debug in getinfo

miguelfreitas
Miguel Freitas 11 years ago
parent
commit
db74a61476
  1. 3
      src/rpcwallet.cpp

3
src/rpcwallet.cpp

@ -77,7 +77,8 @@ Value getinfo(const Array& params, bool fHelp) @@ -77,7 +77,8 @@ Value getinfo(const Array& params, bool fHelp)
obj.push_back(Pair("blocks", (int)nBestHeight));
obj.push_back(Pair("timeoffset", (boost::int64_t)GetTimeOffset()));
obj.push_back(Pair("connections", (int)vNodes.size()));
obj.push_back(Pair("addrman", (int)addrman.size()));
obj.push_back(Pair("addrman_total", (int)addrman.size()));
obj.push_back(Pair("addrman_get", (int)addrman.GetAddr().size()));
obj.push_back(Pair("proxy", (proxy.first.IsValid() ? proxy.first.ToStringIPPort() : string())));
obj.push_back(Pair("difficulty", (double)GetDifficulty()));
obj.push_back(Pair("testnet", TestNet()));

Loading…
Cancel
Save