Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/client.cpp
Show First 20 Lines • Show All 158 Lines • ▼ Show 20 Lines | static const CRPCConvertParam vRPCConvertParams[] = { | ||||
{"createwallet", 5, "descriptors"}, | {"createwallet", 5, "descriptors"}, | ||||
{"getnodeaddresses", 0, "count"}, | {"getnodeaddresses", 0, "count"}, | ||||
{"stop", 0, "wait"}, | {"stop", 0, "wait"}, | ||||
// Avalanche | // Avalanche | ||||
{"addavalanchenode", 0, "nodeid"}, | {"addavalanchenode", 0, "nodeid"}, | ||||
{"buildavalancheproof", 0, "sequence"}, | {"buildavalancheproof", 0, "sequence"}, | ||||
{"buildavalancheproof", 1, "expiration"}, | {"buildavalancheproof", 1, "expiration"}, | ||||
{"buildavalancheproof", 3, "stakes"}, | {"buildavalancheproof", 3, "stakes"}, | ||||
// ABC specific RPC | |||||
{"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; | ||||
public: | public: | ||||
▲ Show 20 Lines • Show All 82 Lines • Show Last 20 Lines |