mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Moved unrelated-to-network calls in StartNode and StopNode into init.cpp
This commit is contained in:
parent
8926263dde
commit
4751d07efd
2 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue