Bitcoin Core  27.99.0
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 <string>
10 #include <string_view>
11 
12 #include <univalue.h>
13 
15 UniValue RPCConvertValues(const std::string& strMethod, const std::vector<std::string>& strParams);
16 
18 UniValue RPCConvertNamedValues(const std::string& strMethod, const std::vector<std::string>& strParams);
19 
20 #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:357
UniValue RPCConvertNamedValues(const std::string &strMethod, const std::vector< std::string > &strParams)
Convert named arguments to command-specific RPC representation.
Definition: client.cpp:369