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