MCPcopy Create free account
hub / github.com/LUX-Core/lux / GetBlocksToMaturity

Method GetBlocksToMaturity

src/wallet.cpp:4577–4582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 9

GetAccountBalanceFunction · 0.80
getbalanceFunction · 0.80
ListTransactionsFunction · 0.80
listaccountsFunction · 0.80
AvailableCoinsMethod · 0.80
AvailableCoinsMNMethod · 0.80
GetAddressBalancesMethod · 0.80
toHTMLMethod · 0.80
updateStatusMethod · 0.80

Calls 3

maxFunction · 0.85
COINBASE_MATURITYMethod · 0.80
ParamsClass · 0.70

Tested by

no test coverage detected