MCPcopy Create free account
hub / github.com/LUX-Core/lux / convert

Method convert

src/rpcclient.cpp:184–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182 CRPCConvertTable();
183
184 bool convert(const std::string& method, int idx) {
185 return (members.count(std::make_pair(method, idx)) > 0);
186 }
187 bool convert(const std::string& method, const std::string& name) {
188 return (membersByName.count(std::make_pair(method, name)) > 0);
189 }

Callers 2

RPCConvertValuesFunction · 0.45
RPCConvertNamedValuesFunction · 0.45

Calls 1

countMethod · 0.45

Tested by

no test coverage detected