Bitcoin Core  0.20.99
P2P Digital Currency
client.h
Go to the documentation of this file.
1 // Copyright (c) 2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2018 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.
5 
6 #ifndef BITCOIN_RPC_CLIENT_H
7 #define BITCOIN_RPC_CLIENT_H
8 
9 #include <univalue.h>
10 
12 UniValue RPCConvertValues(const std::string& strMethod, const std::vector<std::string>& strParams);
13 
15 UniValue RPCConvertNamedValues(const std::string& strMethod, const std::vector<std::string>& strParams);
16 
20 UniValue ParseNonRFCJSONValue(const std::string& strVal);
21 
22 #endif // BITCOIN_RPC_CLIENT_H
UniValue RPCConvertValues(const std::string &strMethod, const std::vector< std::string > &strParams)
Convert positional arguments to command-specific RPC representation.
Definition: client.cpp:224
UniValue ParseNonRFCJSONValue(const std::string &strVal)
Non-RFC4627 JSON parser, accepts internal values (such as numbers, true, false, null) as well as obje...
Definition: client.cpp:215
UniValue RPCConvertNamedValues(const std::string &strMethod, const std::vector< std::string > &strParams)
Convert named arguments to command-specific RPC representation.
Definition: client.cpp:243