diff options
| author | Ben Woosley <[email protected]> | 2018-07-11 01:17:59 -0400 |
|---|---|---|
| committer | Ben Woosley <[email protected]> | 2018-07-29 19:49:14 -0400 |
| commit | 23f434378153cf764230066662f3ec3ad614ff30 (patch) | |
| tree | cc049ebe24f4323b63c040618485280f9108700d /src/httpserver.cpp | |
| parent | Merge #13714: contrib: Add lxc network setup for Bionic host (diff) | |
| download | discoin-23f434378153cf764230066662f3ec3ad614ff30.tar.xz discoin-23f434378153cf764230066662f3ec3ad614ff30.zip | |
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/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions