MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / GetBlocksToMaturity

Method GetBlocksToMaturity

src/wallet/wallet.cpp:2795–2800  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 8

GetAccountBalanceFunction · 0.80
getbalanceFunction · 0.80
BOOST_FOREACHFunction · 0.80
listaccountsFunction · 0.80
AvailableCoinsMethod · 0.80
GetAddressBalancesMethod · 0.80
toHTMLMethod · 0.80
updateStatusMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected