3

I've read it's 100, 101, 120...

I have a mined block that has more than 140 confirmations but is still displayed as "immature" by the wallet.

How many confirmations are required before it leaves the immature state? Is this number variable?

Thanks

Murch
  • 71,155
  • 33
  • 180
  • 600
user5286
  • 31
  • 2

1 Answers1

2

100​. You could argue 120 too. It's the same as Bitcoin.

static const int COINBASE_MATURITY = 100;

Source

Now, this is the amount of time before other nodes will let you spend your mining income. However, the client will wait 120 blocks before telling you that the generation has matured.

int CMerkleTx::GetBlocksToMaturity() const
{
    if (!IsCoinBase())
        return 0;
    return max(0, (COINBASE_MATURITY+20) - GetDepthInMainChain());
}

Source

Nick ODell
  • 29,184
  • 11
  • 69
  • 129