Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/client.cpp
Show First 20 Lines • Show All 144 Lines • ▼ Show 20 Lines | static const CRPCConvertParam vRPCConvertParams[] = { | ||||
{"echojson", 8, "arg8"}, | {"echojson", 8, "arg8"}, | ||||
{"echojson", 9, "arg9"}, | {"echojson", 9, "arg9"}, | ||||
{"rescanblockchain", 0, "start_height"}, | {"rescanblockchain", 0, "start_height"}, | ||||
{"rescanblockchain", 1, "stop_height"}, | {"rescanblockchain", 1, "stop_height"}, | ||||
{"createwallet", 1, "disable_private_keys"}, | {"createwallet", 1, "disable_private_keys"}, | ||||
{"createwallet", 2, "blank"}, | {"createwallet", 2, "blank"}, | ||||
{"getnodeaddresses", 0, "count"}, | {"getnodeaddresses", 0, "count"}, | ||||
{"stop", 0, "wait"}, | {"stop", 0, "wait"}, | ||||
// Avalanche | |||||
{"addavalanchepeer", 0, "nodeid"}, | |||||
// ABC specific RPC | // ABC specific RPC | ||||
{"setexcessiveblock", 0, "blockSize"}, | {"setexcessiveblock", 0, "blockSize"}, | ||||
}; | }; | ||||
class CRPCConvertTable { | class CRPCConvertTable { | ||||
private: | private: | ||||
std::set<std::pair<std::string, int>> members; | std::set<std::pair<std::string, int>> members; | ||||
std::set<std::pair<std::string, std::string>> membersByName; | std::set<std::pair<std::string, std::string>> membersByName; | ||||
▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines |