Post
Topic
Board Announcements (Altcoins)
Re: [ANN] x42 - Feeless, PoS, Smart Contracts/Side Blockchains [Airdrop & Partners!]
by
ligor
on 19/10/2018, 07:16:33 UTC
I think that 50 confirmation for stacked input, 500 confirmation for other.
Looks like I was wrong, I misunderstood this code:

Code:
        ///
        /// Gets the minimum confirmations amount required for a coin to be good enough to participate in staking.
        ///

        /// Block height.
        /// The network.
        public virtual int GetStakeMinConfirmations(int height, Network network)
        {
            if (network.Name.ToLowerInvariant().Contains("test")) // TODO: When rules are moved to network, we can use the extension method IsTest() from Stratis.Bitcoin.
                return height < CoinstakeMinConfirmationActivationHeightTestnet ? 10 : 20;

            return height < CoinstakeMinConfirmationActivationHeightMainnet ? 50 : 500;
        }

        /// Coinstake minimal confirmations softfork activation height for the mainnet.
        public const int CoinstakeMinConfirmationActivationHeightMainnet = [b]1005000[/b];

CoinstakeMinConfirmationActivationHeightMainnet