diff options
| author | Wladimir J. van der Laan <[email protected]> | 2018-08-25 16:52:25 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2018-08-25 16:53:21 +0200 |
| commit | 776fa60c4bebb809dfadd9859cc2789769d492b9 (patch) | |
| tree | 661ea64b1d10ca8b09d3b5d1253467df807c1a84 /src/net_processing.cpp | |
| parent | Merge #14024: qa: Add TestNode::assert_debug_log (diff) | |
| parent | Add CMerkleTx::IsImmatureCoinBase method (diff) | |
| download | discoin-776fa60c4bebb809dfadd9859cc2789769d492b9.tar.xz discoin-776fa60c4bebb809dfadd9859cc2789769d492b9.zip | |
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/net_processing.cpp')
0 files changed, 0 insertions, 0 deletions