Bitcoin Core 28.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
15UniValue RPCConvertValues(const std::string& strMethod, const std::vector<std::string>& strParams);
16
18UniValue 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:366
UniValue RPCConvertNamedValues(const std::string &strMethod, const std::vector< std::string > &strParams)
Convert named arguments to command-specific RPC representation.
Definition: client.cpp:378