Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/node.cpp
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | namespace { | ||||
class NodeImpl : public Node { | class NodeImpl : public Node { | ||||
public: | public: | ||||
NodeImpl(NodeContext *context) { setContext(context); } | NodeImpl(NodeContext *context) { setContext(context); } | ||||
void initLogging() override { InitLogging(*Assert(m_context->args)); } | void initLogging() override { InitLogging(*Assert(m_context->args)); } | ||||
void initParameterInteraction() override { | void initParameterInteraction() override { | ||||
InitParameterInteraction(*Assert(m_context->args)); | InitParameterInteraction(*Assert(m_context->args)); | ||||
} | } | ||||
std::string getWarnings() override { return GetWarnings(true); } | bilingual_str getWarnings() override { return GetWarnings(true); } | ||||
bool baseInitialize(Config &config) override { | bool baseInitialize(Config &config) override { | ||||
return AppInitBasicSetup(gArgs) && | return AppInitBasicSetup(gArgs) && | ||||
AppInitParameterInteraction(config, gArgs) && | AppInitParameterInteraction(config, gArgs) && | ||||
AppInitSanityChecks() && AppInitLockDataDirectory(); | AppInitSanityChecks() && AppInitLockDataDirectory(); | ||||
} | } | ||||
bool | bool | ||||
appInitMain(Config &config, RPCServer &rpcServer, | appInitMain(Config &config, RPCServer &rpcServer, | ||||
HTTPRPCRequestProcessor &httpRPCRequestProcessor) override { | HTTPRPCRequestProcessor &httpRPCRequestProcessor) override { | ||||
▲ Show 20 Lines • Show All 293 Lines • Show Last 20 Lines |