Glossary

Relay Incentive

Relay incentives are fee structures that compensate nodes for forwarding transactions or payments across a network, covering bandwidth, memory, and capital costs.

Key Takeaways

  • A relay incentive is any mechanism that compensates nodes for forwarding transactions or payments on behalf of others. Without compensation, rational operators have no reason to spend bandwidth, memory, and capital relaying other people's traffic.
  • Different networks use different models: Lightning charges routing fees (a base fee plus a proportional fee per hop), Bitcoin's base layer relies on miner fee revenue rather than direct relay compensation, and rollup sequencers earn through user transaction fees minus data availability costs.
  • Designing relay incentives involves a core tension: fees must be high enough to prevent spam and compensate operators, but low enough to avoid pricing out users or concentrating relay power among a few well-capitalized nodes.

What Is a Relay Incentive?

A relay incentive is a fee structure or reward mechanism that motivates network participants to forward transactions, payments, or messages on behalf of others. In decentralized networks, no single entity is responsible for delivering data from sender to receiver. Instead, independent nodes volunteer to relay traffic, and they need a reason to do so.

The costs of relaying are real. Nodes that forward transactions consume bandwidth and processing power. In payment networks like Lightning, relay nodes also lock up capital in payment channels, creating an opportunity cost. Relay incentives exist to make these costs recoverable, ensuring that the network has enough willing participants to remain fast, reliable, and decentralized.

The concept applies across multiple layers of the cryptocurrency stack: from Bitcoin's base-layer transaction relay, to Lightning's multi-hop payment forwarding, to rollup sequencers that batch and post transactions to a settlement layer.

How It Works

Relay incentives differ significantly depending on the network layer and the type of traffic being forwarded. Each model reflects the unique costs and trust assumptions of its environment.

Lightning Network: Two-Part Routing Fees

Lightning is the clearest example of explicit relay incentives. When a payment travels from sender to receiver across multiple hops, each intermediate routing node charges a fee for forwarding. This fee has two components:

  • Base fee: a fixed amount charged per forwarded payment, regardless of size. It covers the per-transaction overhead of processing an HTLC, updating channel state, and maintaining node infrastructure.
  • Proportional fee (fee rate): a variable charge proportional to the payment amount, measured in parts per million (ppm). It compensates for the opportunity cost of locking liquidity in one direction of a channel.

The total fee for a single hop is calculated as:

fee = base_fee + (amount × fee_rate / 1,000,000)

// Example: forwarding 100,000 sats through a node
// with base_fee = 1 msat and fee_rate = 100 ppm
fee = 1 + (100,000 × 100 / 1,000,000)
fee = 1 + 10 = 11 msat

Channel operators set both values independently and can adjust them at any time. This creates a dynamic fee market where nodes compete for routing volume by offering competitive rates, while also needing to cover their capital and operational costs.

LND currently defaults to a base fee of 1 millisatoshi and a fee rate of 1 ppm. Core Lightning and Eclair default to zero or near-zero base fees. A growing number of operators have adopted zero-base-fee policies to improve micropayment viability, since even small base fees become proportionally expensive on tiny payments.

Bitcoin Base Layer: Indirect Relay Incentives

Bitcoin's peer-to-peer network relays unconfirmed transactions without directly compensating relay nodes. Full nodes that forward transactions to their peers receive no payment for doing so. Instead, the incentive to relay is indirect: miners include transactions in blocks to earn transaction fees, and having a well-connected mempool helps them maximize fee revenue.

To prevent spam, nodes enforce a minimum relay fee threshold. Transactions paying below this rate are dropped and not forwarded. Bitcoin Core 29.1 lowered the default minimum relay fee from 1 sat/vB to 0.1 sat/vB (100 sat/kvB), giving users more room to submit low-priority transactions while still maintaining DoS protection.

When a node's mempool fills, it dynamically raises its effective minimum fee, evicting the lowest-fee-rate transactions first. This creates an adaptive spam filter that tightens during congestion and relaxes during quiet periods.

Rollup Sequencers: Fee Spread Revenue

In rollup architectures, the sequencer acts as the relay node. It collects user transactions, orders them into batches, and posts the batch data to a base layer for final settlement. The sequencer's relay incentive comes from the spread between what users pay in transaction fees and what it costs to post data on-chain.

A typical rollup fee has three components: an L2 execution fee, a data availability fee that covers the cost of posting to the base layer, and an optional operator surcharge. The sequencer's margin is the difference between total collected fees and total settlement costs. Some rollups also capture ordering-based revenue through mechanisms like priority auctions.

Use Cases

Payment Routing

The most direct application of relay incentives is payment routing on the Lightning Network. Routing fees motivate node operators to maintain well-connected, well-funded channels. Without these incentives, nodes would have no reason to lock capital in channels or keep their infrastructure online 24/7. The fee market directs payments toward the most efficient paths, balancing cost, reliability, and speed.

For a deeper analysis of how routing economics affect network health, see the research on Lightning routing fee market equilibrium and fee revenue sustainability.

Spam Prevention

Relay incentives double as spam filters. By requiring a minimum cost per relayed transaction, networks make it expensive to flood the system with junk data. On Bitcoin's base layer, the minimum relay fee prevents attackers from consuming node bandwidth and memory for free. On Lightning, routing fees make it costly to probe the network or create channel-jamming attacks at scale.

Liquidity Allocation

In payment networks, relay fees serve as price signals that guide liquidity allocation. When a particular route sees heavy demand, nodes along that route can raise fees, signaling that more capital is needed. Other operators respond by opening channels along the same path, earning fees until supply and demand equalize. This market-driven process distributes liquidity without central coordination.

Cross-Chain Relay

Bridge relayers that forward messages or transactions between blockchains also rely on relay incentives. Protocols like Cosmos IBC define explicit fee modules where relayers earn payment for delivering packets across chains. The relayer submits proof of a message on the source chain and receives a fee upon successful execution on the destination chain.

Relay Incentives and Spark

Spark takes a different approach to the relay problem. As a Bitcoin Layer 2, Spark uses a statechain-based architecture where users hold virtual UTXOs that can be transferred directly without multi-hop routing. This eliminates the need for intermediary routing nodes and their associated fees, addressing the liquidity lock and fee overhead that characterize Lightning's relay model.

Compare how different scaling approaches handle relay economics in the Spark's no-channel UX advantage analysis. You can also explore current routing fee rates across major Lightning nodes using the Lightning routing fee comparison tool.

Risks and Considerations

Centralization Pressure

Relay incentives can create economies of scale that favor large operators. In Lightning, nodes with more capital can open more channels, forward more payments, and earn more fees, which funds further channel openings. This feedback loop risks concentrating relay power among a small number of well-capitalized hubs, reducing the network's censorship resistance.

Similarly, rollup sequencers are typically centralized by default. While the sequencer's fee revenue funds operations, the lack of competition means users have no alternative if the sequencer censors or reorders transactions. Decentralizing sequencer roles while maintaining relay incentives is an active area of research.

Free-Rider Problem

On Bitcoin's base layer, full nodes relay transactions without compensation. This creates a free-rider problem: miners benefit from relayed transactions (through fees), but relay nodes bear the bandwidth and storage costs. As blockchain data grows, the cost of running a full node increases, potentially reducing the number of volunteer relay nodes over time and weakening network decentralization.

Fee-Spam Tradeoff

Setting relay fees too low invites spam: attackers can cheaply flood the network with transactions that consume resources. Setting fees too high prices out legitimate small-value transactions, reducing the network's utility for micropayments. Finding the right balance is a persistent design challenge. Bitcoin addresses this with configurable policy rules, while Lightning relies on market competition among routing nodes.

Routing Complexity

The presence of base fees in Lightning's fee model makes the cheapest-path problem computationally harder. Research has shown that when a base fee is present, the minimum-cost routing problem becomes strongly NP-hard. Dropping the base fee would make costs linear and simplify pathfinding, but it removes the per-transaction overhead compensation that some node operators rely on.

Capital Lock Risk

In payment networks, relay nodes must lock capital in channels to facilitate forwarding. If fees earned don't exceed the opportunity cost of that locked capital, rational operators will close channels and deploy their funds elsewhere. This can create liquidity deserts on less-trafficked routes, reducing network reliability. Dynamic fee adjustment and tools like autoloop help operators manage this tradeoff.

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.