mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 06:43:45 +01:00
Chainparams: Explicit CChainParams arg for miner:
-BitcoinMiner -CreateNewBlock -GenerateBitcoins -ProcessBlockFound
This commit is contained in:
@@ -1576,7 +1576,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
||||
scheduler.scheduleEvery(f, nPowTargetSpacing);
|
||||
|
||||
// Generate coins in the background
|
||||
GenerateBitcoins(GetBoolArg("-gen", false), GetArg("-genproclimit", DEFAULT_GENERATE_THREADS), Params());
|
||||
GenerateBitcoins(GetBoolArg("-gen", false), GetArg("-genproclimit", DEFAULT_GENERATE_THREADS), chainparams);
|
||||
|
||||
// ********************************************************* Step 12: finished
|
||||
|
||||
|
||||
Reference in New Issue
Block a user