MCPcopy Create free account
hub / github.com/ElementsProject/elements / setNetworkActive

Method setNetworkActive

src/node/interfaces.cpp:254–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252 bool getReindex() override { return node::fReindex; }
253 bool getImporting() override { return node::fImporting; }
254 void setNetworkActive(bool active) override
255 {
256 if (m_context->connman) {
257 m_context->connman->SetNetworkActive(active);
258 }
259 }
260 bool getNetworkActive() override { return m_context->connman && m_context->connman->GetNetworkActive(); }
261 CFeeRate getDustRelayFee() override { return ::dustRelayFee; }
262 UniValue executeRpc(const std::string& command, const UniValue& params, const std::string& uri) override

Callers

nothing calls this directly

Calls 1

SetNetworkActiveMethod · 0.80

Tested by

no test coverage detected