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.

mining.h 571B

123456789101112131415161718
  1. // Copyright (c) 2017 The Starwels developers
  2. // Distributed under the MIT software license, see the accompanying
  3. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
  4. #ifndef STARWELS_RPC_MINING_H
  5. #define STARWELS_RPC_MINING_H
  6. #include "script/script.h"
  7. #include <univalue.h>
  8. /** Generate blocks (mine) */
  9. UniValue generateBlocks(std::shared_ptr<CReserveScript> coinbaseScript, int nGenerate, uint64_t nMaxTries, bool keepScript);
  10. /** Check bounds on a command line confirm target */
  11. unsigned int ParseConfirmTarget(const UniValue& value);
  12. #endif