Changeset View
Changeset View
Standalone View
Standalone View
src/dummywallet.cpp
Show All 12 Lines | |||||
class Chain; | class Chain; | ||||
} | } | ||||
class DummyWalletInit : public WalletInitInterface { | class DummyWalletInit : public WalletInitInterface { | ||||
public: | public: | ||||
bool HasWalletSupport() const override { return false; } | bool HasWalletSupport() const override { return false; } | ||||
void AddWalletOptions() const override; | void AddWalletOptions() const override; | ||||
bool ParameterInteraction() const override { return true; } | bool ParameterInteraction() const override { return true; } | ||||
void Construct(InitInterfaces &interfaces) const override { | void Construct(NodeContext &node) const override { | ||||
LogPrintf("No wallet support compiled in!\n"); | LogPrintf("No wallet support compiled in!\n"); | ||||
} | } | ||||
}; | }; | ||||
void DummyWalletInit::AddWalletOptions() const { | void DummyWalletInit::AddWalletOptions() const { | ||||
std::vector<std::string> opts = { | std::vector<std::string> opts = { | ||||
"-avoidpartialspends", "-disablewallet", "-fallbackfee=<amt>", | "-avoidpartialspends", "-disablewallet", "-fallbackfee=<amt>", | ||||
"-keypool=<n>", "-maxtxfee=<amt>", "-mintxfee=<amt>", "-paytxfee=<amt>", | "-keypool=<n>", "-maxtxfee=<amt>", "-mintxfee=<amt>", "-paytxfee=<amt>", | ||||
Show All 38 Lines |