[test] Replace check_output with low level version
[bitcoinplatinum.git] / src / rpc / mining.h
blob868d7002b5ff465f1c317cc6a5b01e723c5cd28d
1 // Copyright (c) 2017 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.
5 #ifndef BITCOIN_RPC_MINING_H
6 #define BITCOIN_RPC_MINING_H
8 #include "script/script.h"
10 #include <univalue.h>
12 /** Generate blocks (mine) */
13 UniValue generateBlocks(std::shared_ptr<CReserveScript> coinbaseScript, int nGenerate, uint64_t nMaxTries, bool keepScript);
15 /** Check bounds on a command line confirm target */
16 unsigned int ParseConfirmTarget(const UniValue& value);
18 #endif