2013-11-20 14:18:57 +01:00
|
|
|
// Copyright (c) 2010 Satoshi Nakamoto
|
2018-07-26 18:36:45 -04:00
|
|
|
// Copyright (c) 2009-2018 The Bitcoin Core developers
|
2014-11-20 10:19:29 +08:00
|
|
|
// Distributed under the MIT software license, see the accompanying
|
2013-11-20 14:18:57 +01:00
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
2018-03-22 15:19:44 +01:00
|
|
|
#ifndef BITCOIN_RPC_CLIENT_H
|
|
|
|
#define BITCOIN_RPC_CLIENT_H
|
2013-11-20 14:18:57 +01:00
|
|
|
|
2022-11-30 17:16:04 +00:00
|
|
|
#include <string>
|
|
|
|
#include <string_view>
|
|
|
|
|
2015-09-04 16:11:34 +02:00
|
|
|
#include <univalue.h>
|
2013-11-20 14:18:57 +01:00
|
|
|
|
2016-11-22 14:56:29 +01:00
|
|
|
/** Convert positional arguments to command-specific RPC representation */
|
2015-05-13 21:29:19 +02:00
|
|
|
UniValue RPCConvertValues(const std::string& strMethod, const std::vector<std::string>& strParams);
|
2016-11-22 14:56:29 +01:00
|
|
|
|
|
|
|
/** Convert named arguments to command-specific RPC representation */
|
|
|
|
UniValue RPCConvertNamedValues(const std::string& strMethod, const std::vector<std::string>& strParams);
|
|
|
|
|
2018-03-22 15:19:44 +01:00
|
|
|
#endif // BITCOIN_RPC_CLIENT_H
|