Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/node.cpp
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | |||||
#include <atomic> | #include <atomic> | ||||
class HTTPRPCRequestProcessor; | class HTTPRPCRequestProcessor; | ||||
namespace interfaces { | namespace interfaces { | ||||
namespace { | namespace { | ||||
class NodeImpl : public Node { | class NodeImpl : public Node { | ||||
void parseParameters(int argc, const char *const argv[]) override { | bool parseParameters(int argc, const char *const argv[], | ||||
gArgs.ParseParameters(argc, argv); | std::string &error) override { | ||||
return gArgs.ParseParameters(argc, argv, error); | |||||
} | |||||
bool readConfigFiles(std::string &error) override { | |||||
return gArgs.ReadConfigFiles(error); | |||||
} | } | ||||
void readConfigFiles() override { gArgs.ReadConfigFiles(); } | |||||
bool softSetArg(const std::string &arg, | bool softSetArg(const std::string &arg, | ||||
const std::string &value) override { | const std::string &value) override { | ||||
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 { | ||||
▲ Show 20 Lines • Show All 241 Lines • Show Last 20 Lines |