Bitcoin Core 30.99.0
P2P Digital Currency
run_command.h
Go to the documentation of this file.
1// Copyright (c) 2022-present The Bitcoin Core developers
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5#ifndef BITCOIN_COMMON_RUN_COMMAND_H
6#define BITCOIN_COMMON_RUN_COMMAND_H
7
8#include <string>
9#include <vector>
10
11class UniValue;
12
20UniValue RunCommandParseJSON(const std::vector<std::string>& cmd_args, const std::string& str_std_in = "");
21
22#endif // BITCOIN_COMMON_RUN_COMMAND_H
UniValue RunCommandParseJSON(const std::vector< std::string > &cmd_args, const std::string &str_std_in="")
Execute a command which returns JSON, and parse the result.
Definition: run_command.cpp:17