MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / executeRpc

Method executeRpc

src/interfaces/node.cpp:206–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204 }
205 CFeeRate getDustRelayFee() override { return ::dustRelayFee; }
206 UniValue executeRpc(const std::string& command, const UniValue& params, const std::string& uri) override
207 {
208 JSONRPCRequest req;
209 req.params = params;
210 req.strMethod = command;
211 req.URI = uri;
212 return ::tableRPC.execute(req);
213 }
214 std::vector<std::string> listRpcCommands() override { return ::tableRPC.listCommands(); }
215 void rpcSetTimerInterfaceIfUnset(RPCTimerInterface* iface) override { RPCSetTimerInterfaceIfUnset(iface); }
216 void rpcUnsetTimerInterface(RPCTimerInterface* iface) override { RPCUnsetTimerInterface(iface); }

Callers 1

RPCParseCommandLineMethod · 0.80

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected