text: // Copyright (c) 2017-2018 The Bitcoin Core developers
  // Copyright (c) 2017 The Raven Core developers
  // Copyright (c) 2018 The Rito Core developers
  // Distributed under the MIT software license, see the accompanying
  // file COPYING or http://www.opensource.org/licenses/mit-license.php.
  
  #ifndef RITO_RPC_MINING_H
  #define RITO_RPC_MINING_H
  
  #include "script/script.h"
  
  #include <univalue.h>
  
  static const bool DEFAULT_GENERATE = false;
  static const int DEFAULT_GENERATE_THREADS = 1;
  
  /** Generate blocks (mine) */
  UniValue generateBlocks(std::shared_ptr<CReserveScript> coinbaseScript, int nGenerate, uint64_t nMaxTries, bool keepScript);
  
  UniValue getgenerate(const UniValue& params, bool fHelp);
  
  /** Check bounds on a command line confirm target */
  unsigned int ParseConfirmTarget(const UniValue& value);
  
  #endif
  