Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/node.cpp
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | public: | ||||
return gArgs.SoftSetArg(arg, value); | return gArgs.SoftSetArg(arg, value); | ||||
} | } | ||||
bool softSetBoolArg(const std::string &arg, bool value) override { | bool softSetBoolArg(const std::string &arg, bool value) override { | ||||
return gArgs.SoftSetBoolArg(arg, value); | return gArgs.SoftSetBoolArg(arg, value); | ||||
} | } | ||||
void selectParams(const std::string &network) override { | void selectParams(const std::string &network) override { | ||||
SelectParams(network); | SelectParams(network); | ||||
} | } | ||||
uint64_t getAssumedBlockchainSize() override { | |||||
return Params().AssumedBlockchainSize(); | |||||
} | |||||
uint64_t getAssumedChainStateSize() override { | |||||
return Params().AssumedChainStateSize(); | |||||
} | |||||
std::string getNetwork() override { return Params().NetworkIDString(); } | std::string getNetwork() override { return Params().NetworkIDString(); } | ||||
void initLogging() override { InitLogging(); } | void initLogging() override { InitLogging(); } | ||||
void initParameterInteraction() override { InitParameterInteraction(); } | void initParameterInteraction() override { InitParameterInteraction(); } | ||||
std::string getWarnings(const std::string &type) override { | std::string getWarnings(const std::string &type) override { | ||||
return GetWarnings(type); | return GetWarnings(type); | ||||
} | } | ||||
bool baseInitialize(Config &config) override { | bool baseInitialize(Config &config) override { | ||||
return AppInitBasicSetup() && AppInitParameterInteraction(config) && | return AppInitBasicSetup() && AppInitParameterInteraction(config) && | ||||
▲ Show 20 Lines • Show All 243 Lines • Show Last 20 Lines |