mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 21:42:47 +01:00
7e05caae39
50e647210d Move ParseConfirmTarget from rpc/mining to rpc/util (Russell Yanofsky) Pull request description: Util is a better home since it's called both by wallet and mining code. Suggested https://github.com/bitcoin/bitcoin/pull/15288#discussion_r254449444 Tree-SHA512: 4320caf2a3f70d2885c421de04f2ec68ff3f6519258c5155fc46e245dc1765fd15c81f260af5096318f24ff9deb88fc3c5ef40eec8b7393f467f5b963d17215b
16 lines
463 B
C++
16 lines
463 B
C++
// 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);
|
|
|
|
#endif
|