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

Method executeRpc

src/node/interfaces.cpp:262–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
263 {
264 JSONRPCRequest req;
265 req.context = m_context;
266 req.params = params;
267 req.strMethod = command;
268 req.URI = uri;
269 return ::tableRPC.execute(req);
270 }
271 std::vector<std::string> listRpcCommands() override { return ::tableRPC.listCommands(); }
272 void rpcSetTimerInterfaceIfUnset(RPCTimerInterface* iface) override { RPCSetTimerInterfaceIfUnset(iface); }
273 void rpcUnsetTimerInterface(RPCTimerInterface* iface) override { RPCUnsetTimerInterface(iface); }

Callers 1

RPCParseCommandLineMethod · 0.80

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected