Implement a hard fork for extended/infinite claim expiration times #112
1 changed files with 1 additions and 3 deletions
|
@ -658,9 +658,7 @@ UniValue getblocktemplate(const UniValue& params, bool fHelp)
|
||||||
result.push_back(Pair("curtime", pblock->GetBlockTime()));
|
result.push_back(Pair("curtime", pblock->GetBlockTime()));
|
||||||
result.push_back(Pair("bits", strprintf("%08x", pblock->nBits)));
|
result.push_back(Pair("bits", strprintf("%08x", pblock->nBits)));
|
||||||
result.push_back(Pair("height", (int64_t)(pindexPrev->nHeight+1)));
|
result.push_back(Pair("height", (int64_t)(pindexPrev->nHeight+1)));
|
||||||
|
result.push_back(Pair("claimtrie", pblock->hashClaimTrie.GetHex()));
|
||||||
if (pclaimTrie)
|
|
||||||
result.push_back(Pair("claimtrie", pclaimTrie->getMerkleHash().GetHex()));
|
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue