Bitcoin Optech Newsletter #426 Review: Shielded Bitcoin Proposals, LDK Security Updates, and Core Protocol Improvements
In this week’s episode of the Bitcoin Optech Live Show and Podcast, host Gustavo Flores Echaiz is joined by Clara Shikhelman, Head of Protocol Research at [[alloc] init], and Elias Rohrer, software engineer at Spiral working on Lightning Development Kit (LDK) and Project Loop. Together, they unpack the latest developments from Newsletter #426, diving deep into novel privacy proposals, critical security releases across major Lightning implementations, and notable code changes spanning Bitcoin Core, Core Lightning, Eclair, and LND.
Exploring Onchain Private Bitcoin Transfers Without Consensus Changes
One of the most heavily discussed topics of the week centers around a new proposal for onchain, private Bitcoin transfers that require zero consensus changes. Clara Shikhelman joined the podcast to discuss the research paper she co-authored, which introduces the concept of "Shielded Bitcoin."
The core motivation behind Shielded Bitcoin is addressing a growing privacy concern in the modern technological landscape. While Bitcoin’s pseudonymous nature was considered sufficient a decade and a half ago, the rise of advanced analytics and large language models (LLMs) has rendered traditional public tracking far more transparent than desired. The newly proposed protocol aims to allow users to move Bitcoin without broadcasting the sender, receiver, and amount in the transparent manner currently required by the network.

Operating entirely without consensus changes, federation operators, or complex sidechain architectures, the system relies heavily on PIPEs—a cryptographic primitive built on top of witness encryption schemes. In this model, funds exist in notes analogous to Bitcoin’s Unspent Transaction Output (UTXO) model. When Alice wants to pay Bob, she generates a cryptographic proof demonstrating ownership of the note being burned, alongside the creation of new notes for Bob and any necessary change for herself.
The transaction published to the Bitcoin blockchain is slightly larger than a standard transaction—roughly five times the size—and carries metadata allowing indexers to update the global nullifier set. This ensures that spent notes cannot be reused, while preserving complete privacy regarding the identities of the transacting parties and the value transferred.
Validation is handled passively and deterministically. Rather than relying on a centralized consensus engine, participants and recipients run or consult indexers to verify the proofs independently. While the underlying cryptography relies on foundational zero-knowledge concepts similar to Zcash, the primary innovation lies in tailoring the structure specifically for Bitcoin, drastically compressing transaction sizes, and eliminating the need for federated trust structures outside of a one-time, initial trusted setup phase.

Critical LDK Releases and Lightning Network Security Fixes
Shifting focus from Lදන layer-1 privacy proposals to layer-2 software execution, Elias Rohrer walked listeners through the latest updates in the Lightning Development Kit (LDK). The conversation highlighted three distinct releases: the ongoing release candidates for LDK v0.3, alongside patch releases v0.2.7 and v0.1.13.
The newly released patch versions serve as critical hardening updates, incorporating backported security fixes and bug mitigations that landed in the v0.3 and main development branches. Notably, several of these vulnerabilities were uncovered through automated security scanning efforts, including Project Loop’s LLM-based security analysis tools.
Among the critical security patches discussed was a vulnerability in LDK’s ChannelMonitor logic. The flaw allowed a malicious counterparty to lie about receiving a prior commitment update during a channel reconnection (channel_reestablish phase). By falsely claiming the update was missed, the peer could trick LDK into retransmitting a newly signed commitment while leaving the internal state inconsistent. This manipulation could ultimately allow the attacker to steal Hash Time Locked Contract (HTLC) funds. The resolution involved a strict validation check ensuring that counterparties cannot demand new commitments if they have already acknowledged receipt of previous updates.

Another notable security fix addressed within the LDK ecosystem involved the LSPS2 Just-In-Time (JIT) channel opening flow. An attacker could craft a specific onion packet to trick a Lightning Service Provider (LSP) into opening a channel and forwarding an HTLC without actually delivering the corresponding inbound funds. LDK has since been patched to rigorously verify that incoming HTLC values match the expected outbound parameters before executing channel creation.
Additionally, LDK addressed an Electrum synchronization bug where randomized transaction selection could cause the wallet to miss confirmed spends involving specific non-standard scripts like OP_RETURN. Furthermore, the v0.3 release branch continues to progress toward a stable mainline release, serving as the foundational engine for upcoming applications such as LDK Server. Developers and operators running Rust-based Lightning infrastructure are strongly encouraged to update their dependencies immediately.
Dynamic One-Byte Message Type IDs and Tagged Hash Conventions
Beyond protocol design and layer-2 security, the newsletter also highlighted crucial discussions on the Bitcoin-Dev mailing list regarding P2P transport optimization and cryptographic standards.

Anthony Towns recently published a draft proposal introducing dynamic one-byte message type IDs for BIP324, the encrypted v2 P2P transport protocol. While BIP324 successfully encrypts peer-to-peer traffic and masks message contents from intermediate observers, standard message types rely on a fixed, static table of one-byte identifiers. Introducing new or experimental P2P features—such as those anticipated under BIP434 for peer feature negotiation—would traditionally require hardcoding or repeating verbose message headers.
The new proposal allows connected peers to dynamically negotiate and assign custom one-byte message type IDs during the initial connection handshake. This flexibility enables developers to deploy experimental or non-standard P2P messages without requiring global protocol upgrades or bloating bandwidth. Bandwidth savings can range up to 66% on connections dominated by control traffic like pings, significantly streamlining encrypted node communications.
Concurrently, a debate was raised regarding conventions for tagged hashes within Bitcoin Improvement Proposals (BIPs). Fabian Jahr initiated a discussion addressing whether BIPs utilizing BIP340 tagged hashes should explicitly incorporate their assigned BIP numbers into the hash tag string. While including the number guarantees global uniqueness and prevents collision risks across distinct protocol drafts, it introduces friction when draft specifications change upon receiving official BIP numbers, necessitating the rewriting of test vectors and implementations. Community feedback highlights a trade-off between strict cryptographic domain separation and developer convenience during the drafting lifecycle.

Bitcoin Core, Core Lightning, BTCPay Server, and Wallet Improvements
The latter half of the newsletter covers a robust array of releases, testing initiatives, and code contributions across the broader Bitcoin ecosystem.
Testing continues for Bitcoin Core v32.0, with the release of the third release candidate (rc3). Operators and contributors are encouraged to review the testing guide from previous weeks to assist in ensuring stability ahead of the final rollout.
Core Lightning (CLN) released version 26.06.9, continuing a string of essential security updates designed to mitigate channel-handling anomalies, splicing edge cases, and REST API resource exhaustion vulnerabilities. This follows the disclosure of major vulnerabilities—including a privilege escalation risk via the makesecret RPC command, which previously allowed authorized callers to derive master cryptographic secrets and forge unrestricted tokens.

BTCPay Server rolled out version 2.4.5, a security-focused release aimed at mitigating server-side request forgery (SSRF). The update enforces default blocks on private-network destinations for outbound HTTP requests tied to webhooks, LNURL calls, and invoice notifications, preventing external actors from probing local network infrastructure.
Within the Bitcoin Core source repository, notable code changes included adjustments to experimental private broadcasting features (privatebroadcast). Pull request #36277 addresses a theoretical transaction origin privacy leak by ensuring that initial private broadcast attempts over Tor or I2P always complete their full set of three retries, even if the transaction has already propagated back to the node via regular network connections. This prevents timing correlations from linking a temporary privacy-preserving connection to a node’s standard public IP address.
Additional Bitcoin Core updates include mempool-based fee estimator improvements to gracefully handle initialization failures, bug fixes in the BIP352 silent payments implementation to correctly extract compressed public keys despite malformed input scripts, and wallet metadata enhancements to properly track historical client versions across downgrades and subsequent upgrades to prevent skipped migrations. Finally, Eclair and LND received targeted updates to harden dual-funding fee verification and resolve overflow vulnerabilities in blinded payment path calculations respectively, rounding out a packed period of technical progress across the network.
