diff --git a/src/rpcclient.cpp b/src/rpcclient.cpp index 04fc84c9d..81df5927a 100644 --- a/src/rpcclient.cpp +++ b/src/rpcclient.cpp @@ -106,7 +106,8 @@ static const CRPCConvertParam vRPCConvertParams[] = { "z_getoperationstatus", 0}, { "z_getoperationresult", 0}, { "z_importkey", 1 }, - { "paxprice", 3 }, + { "paxprice", 4 }, + { "paxprice2", 3 }, }; class CRPCConvertTable diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp index 6becec534..48d39a936 100644 --- a/src/rpcserver.cpp +++ b/src/rpcserver.cpp @@ -301,6 +301,7 @@ static const CRPCCommand vRPCCommands[] = { "blockchain", "gettxoutsetinfo", &gettxoutsetinfo, true }, { "blockchain", "verifychain", &verifychain, true }, { "blockchain", "paxprice", &paxprice, true }, + { "blockchain", "paxprices", &paxprices, true }, /* Mining */ { "mining", "getblocktemplate", &getblocktemplate, true }, diff --git a/src/rpcserver.h b/src/rpcserver.h index a721c6381..9a6e2582e 100644 --- a/src/rpcserver.h +++ b/src/rpcserver.h @@ -244,6 +244,7 @@ extern json_spirit::Value getblock(const json_spirit::Array& params, bool fHelp) extern json_spirit::Value gettxoutsetinfo(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value gettxout(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value paxprice(const json_spirit::Array& params, bool fHelp); +extern json_spirit::Value paxprices(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value verifychain(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value getchaintips(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value invalidateblock(const json_spirit::Array& params, bool fHelp);