{
  "schema_version": "1.0.0",
  "record_id": "dn-next42-20261205-q29",
  "record_version": "1.0.0",
  "title": "A confirmed Bitcoin mining reward can still be too young to spend",
  "canonical_url": "https://decentralised.news/bitcoin-coinbase-maturity-candidate-block-height",
  "evidence_type": "documentary_analysis_with_synthetic_worked_example",
  "source_review_date": "2026-12-05",
  "last_verified_utc": null,
  "observation_window": null,
  "methodology_url": "https://decentralised.news/bitcoin-coinbase-maturity-candidate-block-height",
  "methodology_version": "1.0.0",
  "input_schema": {
    "columns": [
      "scenario",
      "creation_height",
      "tip_height",
      "confirmations_at_tip",
      "candidate_height",
      "candidate_age_blocks",
      "maturity_blocks",
      "shortfall_blocks"
    ],
    "rows_file": "https://decentralised.news/data/dn-next42-20261205/v1/q29.csv"
  },
  "units": {
    "definition": "Units are named in the CSV columns, manuscript and calculation labels. Do not combine quantities without resolving their dimensions."
  },
  "sources": [
    {
      "id": 1,
      "title": "Bitcoin Core consensus constants",
      "url": "https://github.com/bitcoin/bitcoin/blob/master/src/consensus/consensus.h",
      "reviewDate": "2026-12-05",
      "supports": "COINBASE_MATURITY is 100; coinbase maturity is a network rule.",
      "evidenceType": "Primary implementation"
    },
    {
      "id": 2,
      "title": "Bitcoin Core CheckTxInputs",
      "url": "https://github.com/bitcoin/bitcoin/blob/master/src/consensus/tx_verify.cpp",
      "reviewDate": "2026-12-05",
      "supports": "Rejects coinbase spends when candidate spending height minus creation height is below COINBASE_MATURITY.",
      "evidenceType": "Primary implementation"
    },
    {
      "id": 3,
      "title": "Bitcoin Developer Guide: Block Chain",
      "url": "https://developer.bitcoin.org/devguide/block_chain.html",
      "reviewDate": "2026-12-05",
      "supports": "Coinbase transaction definition, subsidy and fees, maturity rationale, block-height ambiguity during forks.",
      "evidenceType": "Official documentation"
    }
  ],
  "calculations": [
    {
      "label": "First eligible candidate",
      "expression": "900000+100",
      "expected": 900100
    },
    {
      "label": "One block short",
      "expression": "900099-900000",
      "expected": 99
    },
    {
      "label": "Conventional confirmations at boundary tip",
      "expression": "900099-900000+1",
      "expected": 100
    },
    {
      "label": "Treasury funding gap in BTC",
      "expression": "2.4-2",
      "expected": 0.4
    }
  ],
  "example": {
    "synthetic": true,
    "description": "Original DN synthetic worked example. All scenario inputs are hypothetical; no live transaction, return, quote or account is represented. Separate Bitcoin coinbase maturity from confirmations with an exact candidate-height calculation and a synthetic treasury funding gap.",
    "rows": [
      [
        "one_short",
        900000,
        900098,
        99,
        900099,
        99,
        100,
        1
      ],
      [
        "boundary",
        900000,
        900099,
        100,
        900100,
        100,
        100,
        0
      ],
      [
        "after_boundary",
        900000,
        900100,
        101,
        900101,
        101,
        100,
        0
      ]
    ]
  },
  "limitations": [
    "Examples use declared invented inputs, not observed fills, customer outcomes, provider rankings or predictive backtests.",
    "Source-review date is not a measurement time, publication date of the source or assurance that terms will remain current.",
    "Documentation does not establish individual access, legal eligibility, service reliability or investment suitability."
  ],
  "falsification_or_recheck_triggers": [
    "Changed governing document or applicable software version.",
    "Evidence of different account, product, timing, unit or legal-entity scope.",
    "An arithmetic error or reproducible counterexample to the stated mechanism."
  ],
  "rights": {
    "original_DN_analysis": "Cite Decentralised News, the canonical URL and record version when reusing this worked example.",
    "third_party_sources": "Third-party material remains subject to its original terms. Linking does not grant redistribution rights."
  },
  "commercial_disclosure": "This article includes a link to DN’s own separately scoped research service. No provider purchase is required to use the example.",
  "corrections": []
}
