Bitcoin Core  0.15.99
P2P Digital Currency
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
BitcoinCore Class Reference

Class encapsulating Bitcoin Core startup and shutdown. More...

Inheritance diagram for BitcoinCore:
[legend]
Collaboration diagram for BitcoinCore:
[legend]

Public Slots

void initialize ()
 
void shutdown ()
 

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 *e)
 Pass fatal exception message to UI thread. More...
 

Private Attributes

boost::thread_group threadGroup
 
CScheduler scheduler
 

Detailed Description

Class encapsulating Bitcoin Core startup and shutdown.

Allows running startup and shutdown in a different thread from the UI thread.

Definition at line 176 of file bitcoin.cpp.

Constructor & Destructor Documentation

BitcoinCore::BitcoinCore ( )
explicit

Definition at line 266 of file bitcoin.cpp.

Member Function Documentation

bool BitcoinCore::baseInitialize ( )
static

Basic initialization, before starting initialization/shutdown thread.

Return true on success.

Definition at line 277 of file bitcoin.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void BitcoinCore::handleRunawayException ( const std::exception *  e)
private

Pass fatal exception message to UI thread.

Definition at line 271 of file bitcoin.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void BitcoinCore::initialize ( )
slot

Definition at line 298 of file bitcoin.cpp.

Here is the call graph for this function:

void BitcoinCore::initializeResult ( bool  success)
signal

Here is the caller graph for this function:

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

Here is the caller graph for this function:

void BitcoinCore::shutdown ( )
slot

Definition at line 312 of file bitcoin.cpp.

Here is the call graph for this function:

void BitcoinCore::shutdownResult ( )
signal

Here is the caller graph for this function:

Member Data Documentation

CScheduler BitcoinCore::scheduler
private

Definition at line 197 of file bitcoin.cpp.

boost::thread_group BitcoinCore::threadGroup
private

Definition at line 196 of file bitcoin.cpp.


The documentation for this class was generated from the following file: