You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
573 B
18 lines
573 B
// Copyright (c) 2017 The Bitcoin Core developers |
|
// Distributed under the MIT software license, see the accompanying |
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php. |
|
|
|
#ifndef BITCOIN_RPC_MINING_H |
|
#define BITCOIN_RPC_MINING_H |
|
|
|
#include <script/script.h> |
|
|
|
#include <univalue.h> |
|
|
|
/** Generate blocks (mine) */ |
|
UniValue generateBlocks(std::shared_ptr<CReserveScript> coinbaseScript, int nGenerate, uint64_t nMaxTries, bool keepScript); |
|
|
|
/** Check bounds on a command line confirm target */ |
|
unsigned int ParseConfirmTarget(const UniValue& value); |
|
|
|
#endif
|
|
|