mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-03 20:21:34 +02:00
Moved unrelated-to-network calls in StartNode and StopNode into init.cpp
This commit is contained in:
@ -45,6 +45,7 @@ enum BindFlags {
|
||||
BF_REPORT_ERROR = (1U << 1)
|
||||
};
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Shutdown
|
||||
@ -99,6 +100,7 @@ void Shutdown()
|
||||
StopRPCThreads();
|
||||
ShutdownRPCMining();
|
||||
bitdb.Flush(false);
|
||||
GenerateBitcoins(false, NULL);
|
||||
StopNode();
|
||||
{
|
||||
LOCK(cs_main);
|
||||
|
Reference in New Issue
Block a user