Saturday, October 24, 2026 | Bicoiner
Bitcoin Technical Development

Bitcoin Optech Newsletter #424 Recap: Post-Quantum Lightning, Bitcoin Core 32.0 RC2, and Protocol Updates

Welcome to the comprehensive recap of Bitcoin Optech Newsletter #424. In this edition, we dive into a pioneering proposal for bringing post-quantum security to offchain Lightning Network infrastructure, examine the release candidates for Bitcoin Core 32.0 alongside its community testing framework, review key technical Q&As from the Bitcoin Stack Exchange, and analyze a series of notable code and documentation changes across major Bitcoin and Lightning implementations.

The episode features insights from co-hosts Mike Schmidt and Gustavo Flores Echaiz, joined by special guests Jan B, a Bitcoin Core contributor focused on review and kernel-related components, and Ahmet Kurt, an assistant professor at East Texas A&M University who presented a pre-recorded segment detailing his post-quantum Lightning Network (PQLN) framework.

Bitcoin Optech Newsletter #424 Recap Podcast

Proposal for a Post-Quantum Lightning Network

The headline news of the week centers on an ambitious academic and technical proposal: PQLN, a framework designed to secure the offchain surfaces of the Lightning Network against future quantum computing threats. Ahmet Kurt, co-author of the research and an assistant professor, joined the discussion via a special pre-recorded segment to outline the motivation and architecture behind the implementation.

Kurt’s journey into Lightning research began during his PhD at Florida International University, eventually culminating in a four-month implementation project built using Rust-Lightning in collaboration with his co-author Abdul, a post-quantum cryptography researcher. While discussions around quantum resistance in cryptocurrency often focus heavily on the base layer, Kurt emphasizes that upgrading the base blockchain alone would leave offchain Lightning surfaces vulnerable. Even if Bitcoin were to achieve post-quantum security today, Lightning’s peer-to-peer messages, gossip layers, transport protocols, invoices, offers, and payment onions would remain exposed. Furthermore, adversaries could record encrypted Lightning traffic today with the intention of decrypting it once sufficiently powerful quantum computers emerge.

Bitcoin Optech Newsletter #424 Recap Podcast

Designing a post-quantum Lightning network requires careful navigation of size constraints and backward compatibility. A total overhaul that breaks interoperability between upgraded and classical nodes would severely hinder adoption. Consequently, the PQLN approach maintains protocol compatibility, allowing a freshly deployed post-quantum node to communicate seamlessly with unmodified nodes while negotiating post-quantum parameters whenever it encounters a similarly upgraded peer.

The architecture addresses several distinct layers of the protocol stack:

Bitcoin Optech Newsletter #424 Recap Podcast
  • Gossip Layer: Nodes distribute their classical identities alongside new post-quantum node identities through gossip announcements. Two out of the three gossip messages are upgraded to post-quantum standards, while channel announcements remain classical because their signatures rely directly on onchain funding keys.
  • Transport Layer (BOLT8): Post-quantum cryptographic primitives are integrated alongside classical ones, establishing a secure baseline for node-to-node communication.
  • Invoices and Offers (BOLT11 and BOLT12): Invoices face significant size challenges due to the large footprint of post-quantum signatures. For instance, ML-DSA-44 signatures measure 2,420 bytes, nearly exhausting standard QR code capacity. In BOLT11, these signatures are split across four tagged fields to fit within Lightning implementation limits. Alternatively, using Falcon signatures could significantly reduce size requirements, though Falcon lacks NIST standardization compared to ML-DSA and ML-KEM. For BOLT12, unannounced nodes behind blinded paths require fresh ML-DSA keys committed specifically for each offer.
  • Onions (BOLT4): Payment onions present one of the most complex hurdles due to strict packet size limits and the large size of post-quantum ciphertexts. Rather than expanding packet limits and breaking interoperability, the PQLN design keeps the onion structure intact while making per-hop secrets hybrid. The sender encapsulates the hop’s ML-KEM key and mixes that secret into the classical Sphinx secret, with ciphertexts traveling alongside the onion within a fixed list of message slots.

The resulting Rust-Lightning implementation adds approximately 11,000 lines of code across 52 files, supported by roughly 100 comprehensive tests. While computational overhead remains negligible—ML-DSA signing adds only about 0.33 milliseconds—the primary trade-off lies in gossip bandwidth. A newly joined PQLN node using ML-DSA-44 downloads roughly ten times more gossip data than a regular node, though utilizing Falcon reduces this overhead closer to a fourfold increase.


Bitcoin Core 32.0 Release Candidate 2

Shifting focus to base-layer software releases, Bitcoin Core has advanced to release candidate 2 (RC2) for version 32.0, with a target final release date slated for October 10. As a time-based release rather than a feature-based one, version 32.0 introduces a robust suite of improvements, bug fixes, and architectural enhancements.

Bitcoin Optech Newsletter #424 Recap Podcast

Jan B, a Bitcoin Core contributor, highlighted the vital role of the community testing campaign during the release candidate phase. While Bitcoin Core maintains an extensive internal testing apparatus—including unit tests, functional tests, fuzzing, continuous integration across diverse platforms, and AI-assisted security reviews by the Red Team—it is impossible for developers to anticipate every downstream hardware and software configuration. From Lightning nodes and block explorers to hardware wallets, custom operating systems, and resource-constrained devices like Raspberry Pis, real-world user environments vary widely. Running release candidates in production-like setups helps surface subtle bugs, platform-specific incompatibilities, and edge cases before final deployment.

The official release testing guide serves as an entry point for experimentation, though it is intentionally non-exhaustive. It guides users through various scenarios using regtest—a private, instantaneous local test chain that consumes minimal storage—covering new remote procedure calls (RPCs), updated wallet management commands, and core system rewrites.

Bitcoin Optech Newsletter #424 Recap Podcast

Among the notable technical features included in version 32.0 are:

  • getopenrpcinfo: A new machine-readable RPC command providing a structured description of all available RPC endpoints, assisting downstream clients in tracking protocol changes and diffing outputs across releases.
  • exportwatchonlywallet: A command that enables users to export extended public keys (xpubs) from a full Bitcoin Core wallet to secondary devices, allowing balance monitoring and transaction observation without exposing private keys.
  • PSBTv2 Default: Partially Signed Bitcoin Transactions now default to version 2 format, streamlining multi-party signing workflows.
  • HTTP Server Rewrite: The internal HTTP server handling RPC and REST communication has been rewritten entirely from scratch to remove the legacy libevent dependency. The new server enforces stricter compliance with standard internet HTTP Request for Comments (RFCs), making it crucial for operators of custom downstream clients to test their integrations against the new build.
  • Additional Enhancements: Version 32.0 incorporates parallel coin fetching for faster initial block synchronization, optimizations for smaller and faster transaction indexes (-txindex), a mempool-based fee estimator, and improved peer feature negotiation mechanisms.

Selected Q&A from Bitcoin Stack Exchange

This month’s selection of technical questions and answers from the Bitcoin Stack Exchange addresses core cryptographic design choices, chain split recovery mechanics, and validation models.

Bitcoin Optech Newsletter #424 Recap Podcast

Drawbacks of Using Sums Instead of SHA256 in Taproot Signatures

A recurring security concern in hardware wallet design is the "fee-overpayment attack," wherein a compromised host computer tricks a signing device into misrepresenting input values, causing the user to inadvertently pay excessive transaction fees to miners. Taproot mitigates this risk by forcing every signature to explicitly commit to the exact amounts of all input values. A Stack Exchange user questioned whether hashing all input amounts together could be simplified by merely committing to the total sum of the input amounts.

The answer highlights that while committing to a total sum would still prevent straightforward fee theft—since the net difference between inputs and outputs remains bounded—it would introduce vulnerabilities in multi-party transactions such as CoinJoins. If an attacker controls the host computer, they could dynamically shuffle amount allocations among different inputs within the transaction as long as the aggregate total remains unchanged. Consequently, a user could be tricked into signing a transaction where their input is undervalued and another participant’s input is overvalued, resulting in direct fund redirection. Committing to individual input amounts via cryptographic hashing ensures that each participant’s specific input value is cryptographically locked.

Bitcoin Optech Newsletter #424 Recap Podcast

Recovering a Pruned Node After a Chain Split

Another practical query addressed recovery procedures for node operators who experimented with alternative protocol enforcement rules—such as the short-lived BIP110 enforcement branch in Bitcoin Knots—before returning to the Bitcoin mainchain via Bitcoin Core. Operators running pruned nodes often worry that discarding historical block data prevents them from rolling back invalid chain tips, seemingly necessitating a full resynchronization from block zero.

Contributors clarified that because the divergence occurred relatively recently and the experimental branch stalled out before accumulating significant work, a local pruned node will almost certainly retain the last mutually shared ancestor block in its storage. Operators can typically transition directly by replacing their node software with Bitcoin Core, allowing the internal reorganization logic to automatically realign with the mainchain. In scenarios where a node continues to treat valid mainchain blocks as invalid due to prior flag configurations, administrative commands like reconsiderblock can instruct the software to re-evaluate the disputed tip without requiring a full blockchain redownload.

Bitcoin Optech Newsletter #424 Recap Podcast

Feasibility of Partial UTXO Set Validation

A theoretical design inquiry explored whether a lightweight node could bypass historical synchronization by building a partial Unspent Transaction Output (UTXO) set derived exclusively from the most recent blocks, using it to validate incoming transactions. Contributors explained the fundamental cryptographic impossibility of this approach: validating a spending transaction requires proving that every referenced input coin genuinely exists and remains unspent. Because valid coins can be created years prior and remain dormant for extended periods, a partial UTXO set lacking historical context would fail to recognize legitimate inputs, rendering full historical verification indispensable for trustless validation.


Releases, Release Candidates, and Notable Code Changes

Software Releases

Alongside Bitcoin Core 32.0rc2, the ecosystem saw critical updates across Lightning infrastructure implementations:

Bitcoin Optech Newsletter #424 Recap Podcast
  • Core Lightning (CLN) 26.06.8: A critical security release addressing multiple vulnerabilities. To prevent opportunistic exploitation before operators can patch their systems, a small subset of test files was temporarily withheld from the public source repository. Operators are strongly urged to upgrade immediately. Notably, nodes running experimental development builds on the master branch cannot downgrade to this release due to database schema updates.
  • Lightning Development Kit (LDK) v0.3-rc2: The second release candidate for LDK introduces advanced features such as RBF fee bumping for stuck splicing transactions, default anchor channel negotiations, and format updates to BOLT11 invoice data structures that invalidate previously issued, unexpired invoices. Additionally, the LDK repository has transitioned its primary mirror hosting away from GitHub.

Protocol Improvements and BIPs

  • BIP138 (Standardized Wallet Descriptors Backup): Building on community proposals for secure wallet recovery, BIP138 establishes a standardized format for backing up wallet descriptors and non-seed metadata. By utilizing cryptographic access controls linked to extended public keys, cosigners can independently decrypt shared backup vaults without exposing private key material to third-party storage providers.
  • BIP461 (Deterministic ECDSA Signing): Introduced to mitigate key exfiltration vectors such as the "Dark Skippy" attack—where malicious signing software leaks private keys through biased nonce selection—BIP461 specifies a deterministic ECDSA signing algorithm adhering to RFC 6979. The standard mandates consistent nonce derivation, low-r grinding optimizations, and normalized signature formatting, enabling developers to easily audit signing devices for compliance and tamper resistance.

Core Lightning Security Patches

Recent security disclosures for Core Lightning highlighted complex edge cases in offchain protocol interactions:

  • Feerate Ceilings and Overflow Protection (PR #9507): Addressed missing upper and lower bounds on peer-proposed splices and dual-funding opens, preventing peers from forcing excessively high fee rates. The update introduces an absolute ceiling of 4,000 sat/vB for peer proposals and backend estimates, alongside a 400 sat/vB cap for manual RBFs and channel opens, while repairing stored values that previously triggered node-crashing integer overflows.
  • Splicing Protocol Hardening (PR #9508): Mitigated scenarios where missing or out-of-order splice_locked messages could allow peers to manipulate channel monitoring or cause nodes to misinterpret transaction abort signals after signatures have already been exchanged.
  • Channel Force-Close Resolution (PR #9509): Fixed a vulnerability where malicious peers could disguise force-closes as cooperative closes using mismatched shutdown scripts, preventing nodes from automatically broadcasting penalty transactions against revoked commitment states.
  • Input Parsing and Resource Capping (PRs #9510, #9511, and #9513): Implemented strict length limits on DNS hostnames, capped JSON nesting levels at 256 layers, limited REST request bodies to 2 MiB, and hardened BOLT12 offer parsing to prevent denial-of-service crashes caused by malformed messages.

Lightning Network Daemon (LND) Updates

  • AMP Payment Handling (PR #11198): Refined Atomic Multipath Payments to ensure that the failure of an individual payment attempt correctly cancels only the associated HTLC set while leaving the overarching reusable AMP invoice active for concurrent payment attempts.
  • BOLT12 Infrastructure (PR #11146): Advanced ongoing work on BOLT12 offers by incorporating robust string encoders, decoders, and signature validation checks to verify that incoming invoices correctly match originating requests and authorized node signers.
  • BOLT1 Ping Compliance (PR #11132): Restored strict compliance with BOLT1 protocol specifications by ensuring LND replies to every valid inbound ping message admitted by its flood-mitigation rate-limiting buckets.

The continuous stream of security hardening, protocol standardizations, and architectural upgrades underscores the ongoing maturation of both the Bitcoin base layer and its offchain scaling networks. Operators and developers are encouraged to review the latest release documentation, test upcoming software versions in sandbox environments, and apply security patches promptly.

Journalist Bicoiner

Lina Irawan

View more articles by Lina Irawan →