Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoin.cpp
Show First 20 Lines • Show All 295 Lines • ▼ Show 20 Lines | void BitcoinApplication::parameterSetup() { | ||||
// Default printtoconsole to false for the GUI. GUI programs should not | // Default printtoconsole to false for the GUI. GUI programs should not | ||||
// print to the console unnecessarily. | // print to the console unnecessarily. | ||||
gArgs.SoftSetBoolArg("-printtoconsole", false); | gArgs.SoftSetBoolArg("-printtoconsole", false); | ||||
m_node.initLogging(); | m_node.initLogging(); | ||||
m_node.initParameterInteraction(); | m_node.initParameterInteraction(); | ||||
} | } | ||||
void BitcoinApplication::SetPrune(bool prune, bool force) { | |||||
optionsModel->SetPrune(prune, force); | |||||
} | |||||
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"; | ||||
startThread(); | startThread(); | ||||
// IMPORTANT: config must NOT be a reference to a temporary because below | // IMPORTANT: config must NOT be a reference to a temporary because below | ||||
// signal may be connected to a slot that will be executed as a queued | // signal may be connected to a slot that will be executed as a queued | ||||
// connection in another thread! | // connection in another thread! | ||||
▲ Show 20 Lines • Show All 439 Lines • Show Last 20 Lines |