From 5c6abd5e22e7ca0fdbe629cb09a646833b4ebeb2 Mon Sep 17 00:00:00 2001 From: Antioch Peverell Date: Mon, 14 Jan 2019 13:29:12 +0000 Subject: [PATCH] 1440 confs (#2376) --- doc/coinbase_maturity.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/coinbase_maturity.md b/doc/coinbase_maturity.md index b894a59d3..b53c8cb70 100644 --- a/doc/coinbase_maturity.md +++ b/doc/coinbase_maturity.md @@ -1,8 +1,8 @@ # The Coinbase Maturity Rule (aka Output Lock Heights) -Coinbase outputs (block rewards & fees) are "locked" and require 1,000 confirmations (blocks added to the current chain) before they mature sufficiently to be spendable. This is to reduce the risk of later txs being reversed if a chain reorganization occurs. +Coinbase outputs (block rewards & fees) are "locked" and require 1,440 confirmations (i.e 24 hours worth of blocks added to the chain) before they mature sufficiently to be spendable. This is to reduce the risk of later txs being reversed if a chain reorganization occurs. -Bitcoin does something very similar, requiring 100 confirmations (Bitcoin blocks are every 10 minutes, Grin blocks every 60 seconds) before mining rewards can be spent. +Bitcoin does something very similar, requiring 100 confirmations (Bitcoin blocks are every 10 minutes, Grin blocks are every 60 seconds) before mining rewards can be spent. Grin enforces coinbase maturity in both the transaction pool and the block validation pipeline. A transaction containing an input spending a coinbase output cannot be added to the transaction pool until it has sufficiently matured (based on current chain height and the height of the block producing the coinbase output). Similarly a block is invalid if it contains an input spending a coinbase output before it has sufficiently matured, based on the height of the block containing the input and the height of the block that originally produced the coinbase output.