Browse Source

Create block with nHeight

pull/4/head
jl777 6 years ago
parent
commit
1afc2472d0
  1. 2
      src/miner.h

2
src/miner.h

@ -30,7 +30,7 @@ struct CBlockTemplate
CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn);
#ifdef ENABLE_WALLET
boost::optional<CScript> GetMinerScriptPubKey(CReserveKey& reservekey);
CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey);
CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey,int32_t nHeight);
#else
boost::optional<CScript> GetMinerScriptPubKey();
CBlockTemplate* CreateNewBlockWithKey();

Loading…
Cancel
Save