diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-08-25 16:52:25 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-08-25 16:53:21 +0200 |
commit | 776fa60c4bebb809dfadd9859cc2789769d492b9 (patch) | |
tree | 661ea64b1d10ca8b09d3b5d1253467df807c1a84 /src/test/script_standard_tests.cpp | |
parent | 55c18a45305f9e89a726f8cf82a7b16a2ab7f955 (diff) | |
parent | 23f434378153cf764230066662f3ec3ad614ff30 (diff) |
Merge #13631: Add CMerkleTx::IsImmatureCoinBase method
23f434378153cf764230066662f3ec3ad614ff30 Add CMerkleTx::IsImmatureCoinBase method (Ben Woosley)
Pull request description:
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.
Tree-SHA512: 4470d07404a0707144f9827b9a94c5c4905f23ee6f9248edc5df599a59d28e21ea0201d8abe5d5d73b39cb05b60c861ea8e04767eef04433e2ee95dcfed653ee
Diffstat (limited to 'src/test/script_standard_tests.cpp')
0 files changed, 0 insertions, 0 deletions