Glossary

One-Parent-One-Child (1p1c) Package Relay

One-parent-one-child package relay lets Bitcoin nodes evaluate a parent and child transaction together for mempool admission, enabling reliable CPFP fee bumping even when the parent alone is too cheap to relay.

Key Takeaways

  • One-parent-one-child (1p1c) package relay lets a Bitcoin node accept a low-fee parent transaction alongside its fee-bumping child as a single unit, using their combined fee rate for mempool admission.
  • Introduced in Bitcoin Core 28.0, 1p1c is the first deployed form of package relay. It deliberately limits packages to one parent and one child to keep the denial-of-service analysis tractable.
  • This feature is critical for Lightning Network and other protocols that rely on pre-signed transactions, where fee bumping via CPFP previously failed if the parent was rejected before the child could arrive.

What Is One-Parent-One-Child Package Relay?

One-parent-one-child (1p1c) package relay is a Bitcoin Core feature that allows a node to evaluate two related transactions: a parent and its child: together when deciding whether to admit them into the mempool. If the parent's fee rate is too low to pass on its own, but the child pays enough fees for both, the node accepts the pair as a package using their combined fee rate.

Before 1p1c, Bitcoin Core evaluated every transaction independently. A parent transaction with a fee rate below the dynamic mempool minimum was rejected outright, regardless of whether a high-fee child existed to compensate. This created a chicken-and-egg problem: the child couldn't enter the mempool either, because it referenced outputs from a parent that the node had already discarded.

The feature shipped in Bitcoin Core 28.0 (October 2024) as part of a broader set of mempool policy improvements that also included TRUC (v3) transactions and pay-to-anchor outputs. Together, these changes make CPFP fee bumping reliable even during periods of high congestion.

How It Works

The 1p1c mechanism operates through two complementary paths: local submission via the submitpackage RPC, and opportunistic relay over the peer-to-peer network.

Orphan-Based Relay

On the P2P network, 1p1c relay works by repurposing the existing orphan transaction handling. No new P2P messages were introduced. The process unfolds as follows:

  1. A node receives a child transaction whose parent is not yet in the mempool. The child is placed into the orphan pool.
  2. The node requests the missing parent from the peer that sent the child.
  3. When the parent arrives, the node attempts to validate it. If the parent's fee rate falls below the dynamic mempool minimum, the node marks it as "reconsiderable" rather than rejecting it permanently.
  4. The node then checks the orphan pool for a child that spends one of the parent's outputs. If found, it evaluates the parent and child together as a 1p1c package.
  5. If the combined fee rate of the pair meets or exceeds the mempool minimum, both transactions are accepted into the mempool.

The submitpackage RPC

For local use, Bitcoin Core provides the submitpackage RPC, which accepts a topologically sorted list of raw transactions and evaluates them as a package:

# Submit a 1p1c package via RPC
bitcoin-cli submitpackage '["<raw_parent_tx_hex>", "<raw_child_tx_hex>"]'

# Response includes per-transaction results
{
  "package_msg": "success",
  "tx-results": {
    "<parent_txid>": {
      "txid": "<parent_txid>",
      "vsize": 141,
      "fees": { "base": 0.00000141 }
    },
    "<child_txid>": {
      "txid": "<child_txid>",
      "vsize": 141,
      "fees": { "base": 0.00005000 }
    }
  }
}

The RPC path is not limited to 1p1c topology: it supports larger packages as well. The one-parent-one-child restriction applies specifically to P2P relay, where DoS resistance constraints are strictest.

Interaction with TRUC and Pay-to-Anchor

The 1p1c relay mechanism works especially well with TRUC (v3) transactions. TRUC policy already restricts transaction topology to one unconfirmed parent and one child, which aligns perfectly with the 1p1c relay constraint. A TRUC parent can pay zero fees and rely entirely on a CPFP child for fee bumping:

# A TRUC parent can have 0 sat/vB fee rate
# Its child pays enough for both via CPFP
Parent (v3): 0 sat/vB, 150 vB
Child  (v3): 50 sat/vB, 100 vB

Combined package fee rate:
  (0 + 5000) sats / (150 + 100) vB = 20 sat/vB

Combined with pay-to-anchor outputs (which provide a standardized anchor for the child to spend), anchor channels on Lightning can fee-bump commitment transactions reliably regardless of when they were signed.

Why One Parent, One Child?

The restriction to exactly one parent and one child is a deliberate engineering choice driven by three factors:

  • DoS resistance: evaluating larger packages introduces more complex validation logic and creates new attack surfaces. An adversary could flood a node with large fake packages to waste CPU and memory. Limiting the package size to two transactions keeps the computational cost bounded and predictable.
  • Simplicity of analysis: the Bitcoin Core mempool is a complex system with many invariants around fee ordering, eviction, and replacement. Adding package evaluation for arbitrary topologies would interact with these subsystems in hard-to-predict ways. The 1p1c constraint makes formal reasoning about correctness manageable.
  • Compatibility with cluster mempool: Bitcoin Core's ongoing cluster mempool project reorganizes how transactions are tracked and evicted. The 1p1c design was scoped to avoid conflicts with cluster mempool, allowing both projects to progress in parallel.

Future proposals, including the broader BIP 331 (Ancestor Package Relay), aim to extend package relay to larger topologies with dedicated P2P messages. BIP 331 remains a draft as of late 2026.

Use Cases

Lightning Network Fee Bumping

Lightning channels use pre-signed commitment transactions to enforce channel state on-chain. These transactions are signed days or weeks before broadcast, making it impossible to predict the right fee rate in advance. If fees spike, a commitment transaction may be too cheap to enter the mempool.

With 1p1c relay, a Lightning node can broadcast the low-fee commitment transaction (the parent) alongside a fee-bumping child that spends its anchor output. Nodes evaluate the pair together, and the commitment transaction enters the mempool even though it would have been rejected on its own. This is essential for the security of time-sensitive Lightning force closes.

For a deeper look at how v3 transactions and package relay improve Lightning security, see the research article on Lightning v3 transactions and package relay.

Contract Protocols with Pre-Signed Transactions

Any Bitcoin protocol that relies on pre-signed transactions faces the same fee-prediction problem as Lightning. This includes discreet log contracts, CoinPools, Ark, and timeout trees. All of these benefit from 1p1c relay because their pre-signed transactions can now be fee-bumped at broadcast time via a CPFP child.

Wallet Fee Management

Wallets that create transactions during low-fee periods may find those transactions stranded if mempool conditions change before confirmation. Rather than waiting for fees to drop again, the wallet can attach a CPFP child. With 1p1c relay, the original transaction does not need to meet the current minimum relay fee on its own: the child's contribution counts toward the package's fee rate.

Risks and Considerations

Opportunistic, Not Guaranteed

The P2P relay path for 1p1c is described as "opportunistic" in the Bitcoin Core release notes. It works in the common case but is not yet robust under adversarial conditions. If an attacker floods the orphan pool with junk transactions, the node may evict the legitimate child before the parent arrives, breaking the pairing. Later Bitcoin Core releases have hardened orphan handling to reduce this risk, but the feature is not considered fully adversary-resistant as of its initial deployment.

No Multi-Parent Support

The P2P relay path requires that the child have exactly one unconfirmed parent. If a child transaction spends outputs from multiple unconfirmed parents, it will not benefit from 1p1c package evaluation over the network. The submitpackage RPC does not have this restriction, so locally submitted packages can include more complex topologies.

Orphan Pool Limitations

The 1p1c mechanism depends on the orphan pool to hold child transactions until their parent arrives. The orphan pool has a fixed size limit (100 transactions by default in Bitcoin Core). During periods of heavy network activity or targeted attacks, orphan eviction can prevent legitimate 1p1c packages from forming.

Bitcoin Core releases following 28.0 introduced per-peer token buckets for orphan relay and improved orphan resolution logic to mitigate these issues. These hardening measures are documented in the fee bumping guide.

Fee Estimation Complexity

Wallets that use 1p1c must calculate the child's fee to cover both its own weight and the parent's fee deficit. The correct formula divides the total desired fee for both transactions by their combined virtual size, then subtracts what the parent already pays. A wallet that underestimates the required child fee will produce a package that still falls below the mempool minimum. The fee estimation logic must account for both transactions as a unit.

Package Relay and the Broader Roadmap

1p1c is the first step in a larger package relay vision. The full BIP 331 proposal introduces new P2P messages (sendpackages, getpkgtxns, pkgtxns) that would let nodes explicitly request and transmit ancestor packages of arbitrary size. This would remove the reliance on orphan-pool pairing and provide stronger guarantees about package delivery.

In the meantime, 1p1c solves the most urgent problem: ensuring that CPFP fee bumping works reliably for two-transaction packages. For protocols like v3 and pay-to-anchor that already enforce a one-parent-one-child topology, the current implementation is sufficient.

Layer-2 protocols built on Bitcoin, including Spark, benefit from these improvements because reliable fee bumping is fundamental to enforcing on-chain settlement guarantees. When a pre-signed transaction must confirm within a deadline, 1p1c relay ensures it can enter the mempool regardless of when it was originally signed.

This 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.