mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Merge pull request #3824
f0a83fcUse Params().NetworkID() instead of TestNet() from the payment protocol (jtimon)2871889net.h was using std namespace through chainparams.h included in protocol.h (jtimon)c8c52deReplace virtual methods with static attributes, chainparams.h depends on protocol.h instead of the other way around (jtimon)a3d946eGet rid of TestNet() (jtimon)6fc0fa6Add RPCisTestNet chain parameter (jtimon)cfeb823Add RequireStandard chain parameter (jtimon)21913a9Add AllowMinDifficultyBlocks chain parameter (jtimon)d754f34Move majority constants to chainparams (jtimon) 8d26721 Get rid of RegTest() (jtimon)cb9bd83Add DefaultCheckMemPool chain parameter (jtimon)2595b9aAdd DefaultMinerThreads chain parameter (jtimon)bfa9a1aAdd MineBlocksOnDemand chain parameter (jtimon)1712adbAdd MiningRequiresPeers chain parameter (jtimon)
This commit is contained in:
@@ -73,7 +73,7 @@ Value getinfo(const Array& params, bool fHelp)
|
||||
obj.push_back(Pair("connections", (int)vNodes.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()));
|
||||
obj.push_back(Pair("testnet", Params().RPCisTestNet()));
|
||||
#ifdef ENABLE_WALLET
|
||||
if (pwalletMain) {
|
||||
obj.push_back(Pair("keypoololdest", pwalletMain->GetOldestKeyPoolTime()));
|
||||
|
||||
Reference in New Issue
Block a user