|
|
|
@ -265,7 +265,7 @@ Value getmininginfo(const Array& params, bool fHelp)
@@ -265,7 +265,7 @@ Value getmininginfo(const Array& params, bool fHelp)
|
|
|
|
|
obj.push_back(Pair("genproclimit", (int)GetArg("-genproclimit", -1))); |
|
|
|
|
obj.push_back(Pair("networkhashps", getnetworkhashps(params, false))); |
|
|
|
|
obj.push_back(Pair("pooledtx", (uint64_t)mempool.size())); |
|
|
|
|
obj.push_back(Pair("testnet", TestNet())); |
|
|
|
|
obj.push_back(Pair("testnet", Params().RPCisTestNet())); |
|
|
|
|
#ifdef ENABLE_WALLET |
|
|
|
|
obj.push_back(Pair("generate", getgenerate(params, false))); |
|
|
|
|
obj.push_back(Pair("hashespersec", gethashespersec(params, false))); |
|
|
|
|