Paymetheus.Decred.Wallet.Wallet.NumRecentBlocks C# (CSharp) Method

NumRecentBlocks() public static method

The number of recent blocks which are always kept in memory in a synced wallet. Transactions from these recent blocks are used to subtract output amounts from the total balance to calculate spendable balances given some number of confirmations. This value may not be less than the coinbase maturity level, or immature coinbase outputs will not be subtracted from the spendable balance.
public static NumRecentBlocks ( BlockChainIdentity blockChain ) : int
blockChain BlockChainIdentity
return int
        public static int NumRecentBlocks(BlockChainIdentity blockChain) => blockChain.Maturity;