Bitcoin Core  27.99.0
P2P Digital Currency
run_command.h
Go to the documentation of this file.
1 // Copyright (c) 2022 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 
10 class UniValue;
11 
19 UniValue RunCommandParseJSON(const std::string& str_command, const std::string& str_std_in="");
20 
21 #endif // BITCOIN_COMMON_RUN_COMMAND_H
UniValue RunCommandParseJSON(const std::string &str_command, const std::string &str_std_in="")
Execute a command which returns JSON, and parse the result.
Definition: run_command.cpp:18