Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/node.cpp
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
class Wallet; | class Wallet; | ||||
namespace { | namespace { | ||||
class NodeImpl : public Node { | class NodeImpl : public Node { | ||||
public: | public: | ||||
NodeImpl() { m_interfaces.chain = MakeChain(); } | NodeImpl() { m_interfaces.chain = MakeChain(); } | ||||
void initError(const std::string &message) override { | |||||
InitError(message); | |||||
} | |||||
bool parseParameters(int argc, const char *const argv[], | bool parseParameters(int argc, const char *const argv[], | ||||
std::string &error) override { | std::string &error) override { | ||||
return gArgs.ParseParameters(argc, argv, error); | return gArgs.ParseParameters(argc, argv, error); | ||||
} | } | ||||
bool readConfigFiles(std::string &error) override { | bool readConfigFiles(std::string &error) override { | ||||
return gArgs.ReadConfigFiles(error, true); | return gArgs.ReadConfigFiles(error, true); | ||||
} | } | ||||
bool softSetArg(const std::string &arg, | bool softSetArg(const std::string &arg, | ||||
▲ Show 20 Lines • Show All 266 Lines • Show Last 20 Lines |