From bf3a20a6e8cafdf723ef101af078df303ea06fec Mon Sep 17 00:00:00 2001 From: Gregory Maxwell Date: Wed, 28 Aug 2013 10:16:50 -0700 Subject: [PATCH] [wallet] Consider generated coins mature at COINBASE_MATURITY+1 We're not seeing large reorgs that would justify waiting a large amount past the rule required maturity, and the extra three hours is just a nuisance. Take one more block to at least give the 100th block time to propagate. --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 24fd1fadb..557a01b8c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1096,7 +1096,7 @@ int CMerkleTx::GetBlocksToMaturity() const { if (!IsCoinBase()) return 0; - return max(0, (COINBASE_MATURITY+20) - GetDepthInMainChain()); + return max(0, (COINBASE_MATURITY+1) - GetDepthInMainChain()); }