Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoin.cpp
Show First 20 Lines • Show All 303 Lines • ▼ Show 20 Lines | void BitcoinApplication::startThread() { | ||||
connect(this, &BitcoinApplication::stopThread, executor, | connect(this, &BitcoinApplication::stopThread, executor, | ||||
&QObject::deleteLater); | &QObject::deleteLater); | ||||
connect(this, &BitcoinApplication::stopThread, coreThread, &QThread::quit); | connect(this, &BitcoinApplication::stopThread, coreThread, &QThread::quit); | ||||
coreThread->start(); | coreThread->start(); | ||||
} | } | ||||
void BitcoinApplication::parameterSetup() { | void BitcoinApplication::parameterSetup() { | ||||
// Default printtoconsole to false for the GUI. GUI programs should not | |||||
// print to the console unnecessarily. | |||||
gArgs.SoftSetBoolArg("-printtoconsole", false); | |||||
m_node.initLogging(); | m_node.initLogging(); | ||||
m_node.initParameterInteraction(); | m_node.initParameterInteraction(); | ||||
} | } | ||||
void BitcoinApplication::requestInitialize( | void BitcoinApplication::requestInitialize( | ||||
Config &config, RPCServer &rpcServer, | Config &config, RPCServer &rpcServer, | ||||
HTTPRPCRequestProcessor &httpRPCRequestProcessor) { | HTTPRPCRequestProcessor &httpRPCRequestProcessor) { | ||||
qDebug() << __func__ << ": Requesting initialize"; | qDebug() << __func__ << ": Requesting initialize"; | ||||
▲ Show 20 Lines • Show All 461 Lines • Show Last 20 Lines |