Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/node.h
Show All 34 Lines | |||||
class Handler; | class Handler; | ||||
class Wallet; | class Wallet; | ||||
//! Top-level interface for a bitcoin node (bitcoind process). | //! Top-level interface for a bitcoin node (bitcoind process). | ||||
class Node { | class Node { | ||||
public: | public: | ||||
virtual ~Node() {} | virtual ~Node() {} | ||||
//! Send init error. | |||||
virtual void initError(const std::string &message) = 0; | |||||
//! Set command line arguments. | //! Set command line arguments. | ||||
virtual bool parseParameters(int argc, const char *const argv[], | virtual bool parseParameters(int argc, const char *const argv[], | ||||
std::string &error) = 0; | std::string &error) = 0; | ||||
//! Set a command line argument if it doesn't already have a value | //! Set a command line argument if it doesn't already have a value | ||||
virtual bool softSetArg(const std::string &arg, | virtual bool softSetArg(const std::string &arg, | ||||
const std::string &value) = 0; | const std::string &value) = 0; | ||||
▲ Show 20 Lines • Show All 219 Lines • Show Last 20 Lines |