Browse Source
0.152a96283
rpc: Update `generate` for developer notes (Wladimir J. van der Laan)df7e2f0
rpc: Move the `generate` RPC call to rpcwallet (Wladimir J. van der Laan) Tree-SHA512: ec658d6178f8435dc54b9d9c6dd59f873055a8ae0c3f177c02049d77b93107dd5fc17a1ff56d50f051810d52fdf306846eaba2ef4fc8d2a6cfa831f57a1045c4
Wladimir J. van der Laan
7 years ago
7 changed files with 66 additions and 44 deletions
@ -0,0 +1,15 @@
@@ -0,0 +1,15 @@
|
||||
// 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 |
Loading…
Reference in new issue