Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/node.cpp
Show First 20 Lines • Show All 228 Lines • ▼ Show 20 Lines | public: | ||||
void setNetworkActive(bool active) override { | void setNetworkActive(bool active) override { | ||||
if (g_connman) { | if (g_connman) { | ||||
g_connman->SetNetworkActive(active); | g_connman->SetNetworkActive(active); | ||||
} | } | ||||
} | } | ||||
bool getNetworkActive() override { | bool getNetworkActive() override { | ||||
return g_connman && g_connman->GetNetworkActive(); | return g_connman && g_connman->GetNetworkActive(); | ||||
} | } | ||||
Amount getMaxTxFee() override { return ::maxTxFee; } | |||||
CFeeRate estimateSmartFee() override { return g_mempool.estimateFee(); } | CFeeRate estimateSmartFee() override { return g_mempool.estimateFee(); } | ||||
CFeeRate getDustRelayFee() override { return ::dustRelayFee; } | CFeeRate getDustRelayFee() override { return ::dustRelayFee; } | ||||
UniValue executeRpc(Config &config, const std::string &command, | UniValue executeRpc(Config &config, const std::string &command, | ||||
const UniValue ¶ms, | const UniValue ¶ms, | ||||
const std::string &uri) override { | const std::string &uri) override { | ||||
JSONRPCRequest req; | JSONRPCRequest req; | ||||
req.params = params; | req.params = params; | ||||
req.strMethod = command; | req.strMethod = command; | ||||
▲ Show 20 Lines • Show All 99 Lines • Show Last 20 Lines |