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

Method convert

src/rpc/client.cpp:255–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253 CRPCConvertTable();
254
255 bool convert(const std::string& method, int idx) {
256 return (members.count(std::make_pair(method, idx)) > 0);
257 }
258 bool convert(const std::string& method, const std::string& name) {
259 return (membersByName.count(std::make_pair(method, name)) > 0);
260 }

Callers 2

RPCConvertValuesFunction · 0.80
RPCConvertNamedValuesFunction · 0.80

Calls 1

countMethod · 0.80

Tested by

no test coverage detected