This commit is contained in:
jl777
2016-10-29 15:14:42 -03:00
parent 65adb21e38
commit 4f0c9cecb6
2 changed files with 2 additions and 2 deletions

View File

@@ -1338,7 +1338,7 @@ void komodo_args()
extern int COINBASE_MATURITY; extern int COINBASE_MATURITY;
komodo_configfile(ASSETCHAINS_SYMBOL,ASSETCHAINS_PORT + 1); komodo_configfile(ASSETCHAINS_SYMBOL,ASSETCHAINS_PORT + 1);
if ( komodo_baseid(ASSETCHAINS_SYMBOL) >= 0 ) if ( komodo_baseid(ASSETCHAINS_SYMBOL) >= 0 )
COINBASE_MATURITY = 0; COINBASE_MATURITY = 1;
} }
} }
else else

View File

@@ -504,7 +504,7 @@ void static BitcoinMiner(CWallet *pwallet)
try { try {
while (true) while (true)
{ {
if (chainparams.MiningRequiresPeers()) if (0&&chainparams.MiningRequiresPeers())
{ {
// Busy-wait for the network to come online so we don't waste time mining // Busy-wait for the network to come online so we don't waste time mining
// on an obsolete chain. In regtest mode we expect to fly solo. // on an obsolete chain. In regtest mode we expect to fly solo.