Create block with nHeight
This commit is contained in:
@@ -30,7 +30,7 @@ struct CBlockTemplate
|
|||||||
CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn);
|
CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn);
|
||||||
#ifdef ENABLE_WALLET
|
#ifdef ENABLE_WALLET
|
||||||
boost::optional<CScript> GetMinerScriptPubKey(CReserveKey& reservekey);
|
boost::optional<CScript> GetMinerScriptPubKey(CReserveKey& reservekey);
|
||||||
CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey);
|
CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey,int32_t nHeight);
|
||||||
#else
|
#else
|
||||||
boost::optional<CScript> GetMinerScriptPubKey();
|
boost::optional<CScript> GetMinerScriptPubKey();
|
||||||
CBlockTemplate* CreateNewBlockWithKey();
|
CBlockTemplate* CreateNewBlockWithKey();
|
||||||
|
|||||||
Reference in New Issue
Block a user