| 4575 | } |
| 4576 | |
| 4577 | int CMerkleTx::GetBlocksToMaturity() const |
| 4578 | { |
| 4579 | if (!IsCoinGenerated()) |
| 4580 | return 0; |
| 4581 | return max(0, (Params().COINBASE_MATURITY() + 1) - GetDepthInMainChain()); |
| 4582 | } |
| 4583 | |
| 4584 | |
| 4585 | bool CMerkleTx::AcceptToMemoryPool(bool fLimitFree, bool fRejectInsaneFee, bool ignoreFees) |
no test coverage detected