aboutsummaryrefslogtreecommitdiff
path: root/src/qt/paymentserver.h
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2018-07-11 01:17:59 -0400
committerBen Woosley <ben.woosley@gmail.com>2018-07-29 19:49:14 -0400
commit23f434378153cf764230066662f3ec3ad614ff30 (patch)
treecc049ebe24f4323b63c040618485280f9108700d /src/qt/paymentserver.h
parent29b4ee64695f79511912ae127e66e0fe82f7a0d1 (diff)
Add CMerkleTx::IsImmatureCoinBase method
All but one call to GetBlocksToMaturity is testing it relative to 0 for the purposes of determining whether the coinbase tx is immature. In such case, the value greater than 0 implies that the tx is coinbase, so there is no need to separately test that status. This names the concept for easy singular use.
Diffstat (limited to 'src/qt/paymentserver.h')
0 files changed, 0 insertions, 0 deletions