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...

+ Inheritance diagram for BitcoinCore:
+ Collaboration diagram for BitcoinCore:

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.

Definition at line 179 of file dash.cpp.

Constructor & Destructor Documentation

◆ BitcoinCore()

BitcoinCore::BitcoinCore ( )
explicit

Definition at line 268 of file dash.cpp.

Member Function Documentation

◆ baseInitialize()

bool BitcoinCore::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()

void BitcoinCore::handleRunawayException ( const std::exception_ptr  e)
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

void BitcoinCore::initialize ( )
slot

Definition at line 300 of file dash.cpp.

References AppInitMain(), handleRunawayException(), and initializeResult().

◆ initializeResult

void BitcoinCore::initializeResult ( bool  success)
signal

Referenced by initialize().

◆ restart

void BitcoinCore::restart ( QStringList  args)
slot

◆ runawayException

void BitcoinCore::runawayException ( const QString &  message)
signal

Referenced by handleRunawayException().

◆ shutdown

void BitcoinCore::shutdown ( )
slot

Definition at line 336 of file dash.cpp.

References handleRunawayException(), Interrupt(), Shutdown(), and shutdownResult().

◆ shutdownResult

void BitcoinCore::shutdownResult ( )
signal

Referenced by restart(), and shutdown().


The documentation for this class was generated from the following file:
Released under the MIT license