You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

client.h 882B

12345678910111213141516171819202122
  1. // Copyright (c) 2010 Satoshi Nakamoto
  2. // Copyright (c) 2009-2016 The Starwels developers
  3. // Distributed under the MIT software license, see the accompanying
  4. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
  5. #ifndef STARWELS_RPCCLIENT_H
  6. #define STARWELS_RPCCLIENT_H
  7. #include <univalue.h>
  8. /** Convert positional arguments to command-specific RPC representation */
  9. UniValue RPCConvertValues(const std::string& strMethod, const std::vector<std::string>& strParams);
  10. /** Convert named arguments to command-specific RPC representation */
  11. UniValue RPCConvertNamedValues(const std::string& strMethod, const std::vector<std::string>& strParams);
  12. /** Non-RFC4627 JSON parser, accepts internal values (such as numbers, true, false, null)
  13. * as well as objects and arrays.
  14. */
  15. UniValue ParseNonRFCJSONValue(const std::string& strVal);
  16. #endif // STARWELS_RPCCLIENT_H