mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Remove getwork() RPC call
This commit is contained in:
parent
7b4737c878
commit
cf0c47b269
4 changed files with 1 additions and 165 deletions
|
|
@ -116,7 +116,6 @@ void Shutdown()
|
|||
RenameThread("bitcoin-shutoff");
|
||||
mempool.AddTransactionsUpdated(1);
|
||||
StopRPCThreads();
|
||||
ShutdownRPCMining();
|
||||
#ifdef ENABLE_WALLET
|
||||
if (pwalletMain)
|
||||
bitdb.Flush(false);
|
||||
|
|
@ -1148,8 +1147,6 @@ bool AppInit2(boost::thread_group& threadGroup)
|
|||
#endif
|
||||
|
||||
StartNode(threadGroup);
|
||||
// InitRPCMining is needed here so getwork/getblocktemplate in the GUI debug console works properly.
|
||||
InitRPCMining();
|
||||
if (fServer)
|
||||
StartRPCThreads();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue