Fee-Based Spam Prevention For Lightning

Mar 14 - Jul 14, 2025

  • The discussion revolves around the economics and operational intricacies of Lightning Network nodes, particularly focusing on the costs, risks, and profit margins associated with routing payments.

It begins by debunking the notion that one can expect to double their funds every two weeks by routing payments through these nodes without considering the expenses and risks involved. This misconception overlooks the operational reality where channels do not maintain 100% utilization rates, and thus, the expected returns are far less optimistic than presumed.

The email progresses to clarify the financial commitment required from routing nodes, emphasizing the collateral needed to cover potential hold fees. For instance, a routing node at the beginning of a transaction chain must lock in significantly more satoshis as a security against possible fees compared to nodes later in the sequence. This layered risk model introduces a realistic perspective on the profitability of operating a Lightning Network node, countering initial assumptions with a detailed cost-benefit analysis based on a cost of capital at 19% per annum.

Additionally, the conversation delves into the Fee-Based Spam Reduction Protocol, which proposes a structured fee system consisting of Upfront Fees, Hold Fees, and Success Fees across a 10-hop payment scenario. This system aims to comprehensively cover the operational costs and risks incurred by nodes while processing payments. The protocol suggests a novel approach to securing and incentivizing transactions across the network, introducing mechanisms like matching fund requirements for burn outputs to protect against griefing attacks. This nuanced fee structure is designed to ensure fair compensation for nodes, addressing the challenges posed by delayed or failed payments and offering solutions to mitigate spam and malicious activities within the network.

Furthermore, an update to the paper introduces a lower-latency bug fix, enhancing the protocol's efficiency in handling time-dependent Hold Fees for not-immediately-settled payments. This improvement focuses on reducing the added latency without compromising the integrity of Hold Fee calculations, showcasing a commitment to optimizing network performance.

Lastly, the correspondence touches upon the critical aspects of jamming attacks and the strategic requirement to lock collateral as a deterrent. It examines the complexities of channel closure and fund distribution, suggesting a numerical example to better understand the trade-offs involved. Through these discussions, the email outlines strategies for leveraging automated protocols to prevent exploitation during transactions, highlighting the importance of continuous adaptation and improvement in combating challenges within the Lightning Network.

Bitcoin Logo

TLDR

Join Our Newsletter

We’ll email you summaries of the latest discussions from authoritative bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.

Explore all Products

ChatBTC imageBitcoin searchBitcoin TranscriptsSaving SatoshiBitcoin Transcripts Review
Built with 🧡 by the Bitcoin Dev Project
View our public visitor count

We'd love to hear your feedback on this project?

Give Feedback