From ff563ccee1d064c5475469d1db9245621a548293 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sat, 12 Oct 2013 18:07:34 -0300 Subject: [PATCH] print addrman size --- src/rpcwallet.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index 750549ee..c3f315b0 100644 --- a/src/rpcwallet.cpp +++ b/src/rpcwallet.cpp @@ -77,6 +77,7 @@ 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("proxy", (proxy.first.IsValid() ? proxy.first.ToStringIPPort() : string()))); obj.push_back(Pair("difficulty", (double)GetDifficulty())); obj.push_back(Pair("testnet", TestNet()));