---
title: "Descendant Limit — definition | Nuri Glossary"
description: "How many unconfirmed children may hang off one parent in the mempool, a spam and DoS guard."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/descendant-limit"
---

# Descendant Limit

How many unconfirmed children may hang off one parent in the mempool, a spam and DoS guard.

## Basically

The descendant limit caps how many unconfirmed child transactions can follow one parent transaction. It also caps their combined size.

## Key Takeaways

- Bitcoin Core's default descendant limit caps a single unconfirmed transaction at 25 descendants totalling 101 kvB, preventing denial-of-service attacks on mempool processing and block template construction.
- The limit directly constrains child-pays-for-parent (CPFP) fee bumping: if an adversary fills a transaction's descendant budget, honest parties cannot attach a fee-bumping child, creating a transaction pinning attack vector.
- Bitcoin Core 31.0 replaced per-transaction ancestor and descendant limits with cluster mempool limits of 64 transactions and 101 kvB per cluster, while TRUC (v3) transactions enforce a strict one-parent-one-child topology for protocol-critical use cases like Lightning.

## What Is the Descendant Limit?

The descendant limit is a Bitcoin Core mempool policy that restricts how many unconfirmed child transactions can chain off one unconfirmed parent. From Bitcoin Core 0.12 through version 30, the default allowed no more than 25 descendants, including the transaction itself, with a combined virtual size of no more than 101 kvB (kilovirtual bytes). A symmetric ancestor limit allowed no more than 25 unconfirmed ancestors totalling 101 kvB.
These limits are relay and mempool-admission policies, not consensus rules. Miners can include any valid transaction in a block regardless of its unconfirmed relatives, but almost all nodes enforce these defaults, so violating transactions normally do not propagate or reach miners.
Developer Alex Morcos introduced the limits in 2015 through PR #6654 and PR #6771 to bound the computational cost of maintaining the mempool. A node must traverse dependent transactions whenever it evaluates whether to accept, evict, or mine a transaction. Without limits, an attacker could build arbitrarily long chains that consume excessive CPU and memory.

## How It Works

A Bitcoin Core node checks two package constraints in its mempool admission logic before accepting a new transaction. The checks apply to the transaction's ancestors and descendants.
Node operators can adjust these limits with command-line arguments. Deviating from the defaults means the node will relay transactions that most peers reject, which reduces propagation effectiveness.

## Default Values (Pre-Cluster Mempool)

Bitcoin Core 0.12 through version 30 used default limits for ancestors and descendants. The limits covered both transaction counts and combined virtual size.
These four values together defined a 'transaction package'. A package is the set of all connected unconfirmed transactions that must be considered as a group for fee evaluation and block template construction.

## Cluster Mempool (Bitcoin Core 31.0+)

Bitcoin Core 31.0, released in April 2026, replaced per-transaction ancestor and descendant limits with a cluster-based approach. All connected unconfirmed transactions form a 'cluster', and the limits apply to the cluster as a whole.
The design simplifies fee evaluation. Transactions within a cluster are ranked by chunk feerate, the feerate of the optimal set that would be mined together, and this ranking drives block template selection, mempool eviction and fee estimation. The higher per-cluster transaction count of 64 instead of 25 gives protocols more room to attach children, while the total size cap prevents memory exhaustion.

## CPFP Fee Bumping

The descendant limit directly affects child-pays-for-parent (CPFP) fee bumping. CPFP creates a high-fee child that spends from a low-fee parent, so miners evaluate both together. The child's high fee pulls the package's effective feerate above the threshold for inclusion in a block.
A parent with 24 descendants already in the mempool cannot accept another child under the descendant limit, so it cannot be fee-bumped through CPFP. Single-party transactions rarely face this problem, but multi-party protocols such as Lightning face a critical vulnerability.

## Transaction Pinning

Transaction pinning exploits the descendant limit to stop an honest party from fee-bumping a shared transaction. Both parties in a Lightning commitment transaction have outputs they may need to spend. A malicious counterparty can attach many low-fee children to their own output to fill the descendant budget, blocking the honest party from adding a CPFP child to their output.
The attack is especially dangerous for time-sensitive transactions. An honest party may lose funds if a Lightning commitment transaction cannot confirm before an HTLC timeout. For a detailed analysis of these dynamics, see Bitcoin fee market dynamics and transaction pinning attacks.

## CPFP Carve-Out

Bitcoin Core 0.19.0 introduced the CPFP carve-out to address pinning in two-party protocols. The exception allows one additional descendant beyond the limit if the extra child is under 10 kvB and has exactly one unconfirmed ancestor. The carve-out was designed specifically for Lightning's two-party commitment transactions, ensuring each party could always attach at least one CPFP child.
Bitcoin Core 31.0 removed the carve-out during the cluster mempool transition because it was incompatible with the new cluster-based architecture. TRUC (v3) transactions and ephemeral anchors have superseded its functionality.

## Anchor Outputs in Lightning

Lightning's anchor output design works within the descendant limit by adding two small outputs to each commitment transaction, one for each channel party. All non-anchor outputs use a one-block relative timelock with OP_CHECKSEQUENCEVERIFY, which prevents them from being spent while the commitment transaction is unconfirmed. Neither party can therefore fill the descendant budget through non-anchor outputs.
Each party can spend only their own anchor output to create a CPFP child. The carve-out (pre-v31) or TRUC transactions (post-v28) guarantee that each party can always fee-bump the commitment transaction.

## TRUC Transactions and Ephemeral Anchors

TRUC (v3) transactions, introduced in Bitcoin Core 28.0 through BIP 431, enforce a much stricter topology of exactly one unconfirmed parent and one unconfirmed child. The parent can be up to 10,000 vB and the child up to 1,000 vB.
The tight constraint eliminates descendant-based pinning entirely because an adversary has no room to attach extra children. Ephemeral anchors (BIP 433) and pay-to-anchor (P2A) outputs combine with TRUC to replace Lightning's two anchors with a single keyless anchor. The commitment transaction pays zero fee, and all fee responsibility shifts to the CPFP child.

## Package Relay

Package relay lets nodes evaluate and relay groups of related transactions together rather than individually. Bitcoin Core 28.0 introduced one-parent-one-child (1p1c) opportunistic package relay, allowing a low-feerate parent to propagate with its fee-bumping child. Full ancestor package relay (BIP 331) remains under active development.
Package relay interacts with descendant limits because the package must satisfy all policy rules as a unit. The cluster mempool evaluates packages against cluster limits instead of legacy per-transaction limits, which simplifies relay logic and reduces edge cases.

## Pinning Remains Possible

TRUC transactions solve descendant-based pinning for protocols that opt in, but non-TRUC transactions still face standard cluster limits. Multi-party protocols using legacy transaction versions can still be pinned if an adversary fills the cluster budget, so protocol designers must carefully choose transaction versions and output structures to mitigate the risk.

## Consolidation and Batching Constraints

Exchanges and payment processors that batch withdrawals often create long chains of unconfirmed transactions. If recipients spend the many outputs of a batch before it confirms, the descendant or cluster limit can prevent further spending, forcing operators to manage UTXO consolidation carefully and avoid deep unconfirmed chains during network congestion.

## Policy vs. Consensus

The descendant limit is a policy rule, not a consensus rule, so different nodes can run different limits and miners can override them entirely. A transaction rejected by default policy may still appear in a block if a miner accepts it directly. Direct miner submission bypasses the peer-to-peer relay network and introduces centralisation risk because only well-connected parties can submit transactions out-of-band.

## Transition Period

Bitcoin Core 31.0 shifted from per-transaction limits of 25 ancestors and descendants to per-cluster limits of 64 transactions, changing how protocols interact with the mempool and requiring updates to wallet software, Lightning implementations and fee-bumping tools. Nodes running different versions may disagree during the transition about which transactions are acceptable, temporarily reducing relay consistency. The cluster mempool research article gives a deeper look at how the redesign affects fee estimation and mining.
The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
