Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
Class encapsulating Dash Core startup and shutdown. More...
Public Slots | |
void | initialize () |
void | shutdown () |
void | restart (QStringList args) |
Signals | |
void | initializeResult (bool success) |
void | shutdownResult () |
void | runawayException (const QString &message) |
Public Member Functions | |
BitcoinCore () | |
Static Public Member Functions | |
static bool | baseInitialize () |
Basic initialization, before starting initialization/shutdown thread. More... | |
Private Member Functions | |
void | handleRunawayException (const std::exception_ptr e) |
Pass fatal exception message to UI thread. More... | |
Detailed Description
Class encapsulating Dash Core startup and shutdown.
Allows running startup and shutdown in a different thread from the UI thread.
Constructor & Destructor Documentation
◆ BitcoinCore()
Member Function Documentation
◆ baseInitialize()
|
static |
Basic initialization, before starting initialization/shutdown thread.
Return true on success.
Definition at line 279 of file dash.cpp.
References AppInitBasicSetup(), AppInitLockDataDirectory(), AppInitParameterInteraction(), and AppInitSanityChecks().
Referenced by main().
◆ handleRunawayException()
|
private |
Pass fatal exception message to UI thread.
Definition at line 273 of file dash.cpp.
References GetWarnings(), PrintExceptionContinue(), and runawayException().
Referenced by initialize(), restart(), and shutdown().
◆ initialize
|
slot |
Definition at line 300 of file dash.cpp.
References AppInitMain(), handleRunawayException(), and initializeResult().
◆ initializeResult
|
signal |
Referenced by initialize().
◆ restart
|
slot |
Definition at line 312 of file dash.cpp.
References CExplicitNetCleanup::callCleanup(), handleRunawayException(), Interrupt(), PrepareShutdown(), shutdownResult(), and StartRestart().
◆ runawayException
|
signal |
Referenced by handleRunawayException().
◆ shutdown
|
slot |
Definition at line 336 of file dash.cpp.
References handleRunawayException(), Interrupt(), Shutdown(), and shutdownResult().
◆ shutdownResult
|
signal |
Referenced by restart(), and shutdown().
The documentation for this class was generated from the following file:
- src/qt/dash.cpp