| 2793 | } |
| 2794 | |
| 2795 | int CMerkleTx::GetBlocksToMaturity() const |
| 2796 | { |
| 2797 | if (!IsCoinBase()) |
| 2798 | return 0; |
| 2799 | return max(0, (COINBASE_MATURITY+1) - GetDepthInMainChain()); |
| 2800 | } |
| 2801 | |
| 2802 | |
| 2803 | bool CMerkleTx::AcceptToMemoryPool(bool fLimitFree, bool fRejectAbsurdFee) |
no outgoing calls
no test coverage detected