From c453bcc9e5fd98ae4aebd1f2fc85192b5fd7410a Mon Sep 17 00:00:00 2001 From: Ross Nicoll Date: Sun, 5 Jul 2015 17:45:38 +0100 Subject: Adapt AuxPoW to Dogecoin Changed AuxPoW parent block hashing to use Scrypt rather than SHA256 hash. Update chain parameters to match Dogecoin Move CheckProofOfWork into dogecoin.cpp and rename it to CheckAuxPowProofOfWork. Add operator overrides to CBlockVersion so that naive usage operates on the underlying version without chain ID or flags. Modify RPC mining to more closely match existing submitblock() structure --- src/init.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/init.cpp') diff --git a/src/init.cpp b/src/init.cpp index 7bb7b183f..0923dcb3a 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -154,7 +154,6 @@ void Shutdown() mempool.AddTransactionsUpdated(1); StopRPCThreads(); #ifdef ENABLE_WALLET - ShutdownRPCMining(); if (pwalletMain) pwalletMain->Flush(false); GenerateBitcoins(false, NULL, 0); @@ -1433,7 +1432,6 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) if (pwalletMain) GenerateBitcoins(GetBoolArg("-gen", false), pwalletMain, GetArg("-genproclimit", 1)); - InitRPCMining (); #endif // ********************************************************* Step 11: finished -- cgit v1.2.3