Bitcoin developers propose fix for transaction verification gap affecting Lightning wallets
Bitcoin developers have proposed a new verification system that would allow lightweight wallets to independently authenticate transaction signatures recorded on the blockchain.
The draft Bitcoin Improvement Proposal, submitted by developer Jean Pablo on Nov. 22, addresses a limitation in how wallets verify transaction information received from external servers.
The proposal could particularly benefit wallets such as Electrum, which supports Bitcoin's Lightning Network and relies on external servers for some blockchain information.
Currently, lightweight wallets can verify that a transaction was included in a Bitcoin block using a cryptographic proof tied to its transaction ID, or txid.
However, that identifier excludes witness data, which contains signatures and other information used to authorize spending under Bitcoin's Segregated Witness (SegWit) system.
Consequently, a wallet could successfully verify a transaction's inclusion while holding witness data that differs from what miners actually included in the block.
Pablo's proposal addresses this discrepancy by introducing standardized witness transaction inclusion proofs built around a second identifier, known as the witness transaction ID, or wtxid.
Unlike the conventional transaction ID, the wtxid incorporates witness data, allowing wallets to verify that the full transaction they received matches the version included in a mined block.
The proposed system connects that identifier to Bitcoin's existing witness commitment, which is recorded in the block's coinbase transaction. A second cryptographic proof then connects the coinbase transaction to the block header.
What each Bitcoin proof checks
An ordinary proof checks the transaction ID. The draft adds a path from the witness data to the same block header.
Two ways to prove a Bitcoin transaction was included The ordinary proof covers the transaction ID without the witness. The draft would connect a witness transaction ID to the block header through the coinbase commitment. Transaction copy held by the walletTransaction detailsWitness dataConventional proofProposed witness proofTransaction IDCalculated without witness dataWitness transaction IDCalculated with witness dataCoinbase transaction inclusionWitness stays uncheckedCoinbase witness commitmentBlock header
Two ways to prove a Bitcoin transaction was included The ordinary proof covers the transaction ID without the witness. The draft would connect a witness transaction ID to the block header through the coinbase commitment. Transaction copy held by the walletTransaction detailsWitness dataConventional proofTransaction IDCalculated without witness dataBlock headerWitness stays uncheckedProposed witness proofWitness transaction IDCalculated with witness dataCoinbase witness commitmentCoinbase transaction inclusionSame block header
A wallet can compare the witness data it received with what a valid block committed to.
The proposed path assumes a valid block with a SegWit witness commitment. Chain selection and confirmation depth are separate from inclusion verification.
Sources and evidence
Sources
- Jean Pablo's draft specification
- Bitcoin Core witness proof discussion
Supporting facts
- A conventional transaction ID, or txid, excludes SegWit witness data, so a txid inclusion proof can establish that the transaction is in a block while leaving the exact signatures or other witness data the wallet received unchecked. [1]
- For a block with a SegWit witness commitment, the draft would let a wallet check the witness transaction ID it calculates from the full transaction against a proof tied to the block header through the miner's coinbase transaction. [1] [2]
- For a valid block, the proposed proof establishes inclusion in that particular block. The verifier separately checks whether the header belongs to the chain it accepts, and confirmation depth depends on later blocks in that chain. [1]
Method
The diagram follows the two proof paths described in the draft and the wallet verification flow in the Bitcoin Core discussion.
Scope
The proposed path assumes a valid block with a SegWit witness commitment. Chain selection and confirmation depth are separate from inclusion verification.
Infographic by CryptoSlate
Together, these checks allow wallets to authenticate witness data without downloading and examining the entire block.
Electrum's Lightning needs drive Bitcoin verification proposal
The development follows an earlier request from Electrum contributor SomberNight, who sought witness inclusion proofs to strengthen transaction verification for the wallet's Lightning Network functionality.
Lightning wallets interact with Bitcoin's underlying blockchain when opening, closing and monitoring payment channels, making reliable transaction information particularly important.
The proposed verification system would allow such wallets to independently confirm the witness data supplied by servers while continuing to operate without storing complete blockchain data.
The request previously prompted work on Bitcoin Core, where developers explored extending existing transaction proof commands to cover witness information.
That pull request closed in May without being merged, and developer Sjors Provoost later continued the effort through a separate implementation that introduced commands to generate and verify witness proofs.
Meanwhile, Bitcoin Knots introduced experimental witness-proof support in version 29.1, and Electrum developers have been working on related protocol changes.
However, these efforts use different proof formats, creating compatibility challenges between wallets and the servers providing blockchain information.
Pablo's proposal attempts to resolve those differences by specifying two binary formats and a JSON representation for exchanging and verifying proofs.
The first format provides a separate cryptographic proof for each transaction, while the second reduces duplicated information when verifying multiple transactions together.
In one example involving 10 transactions, the second format reduced proof data from 4,523 bytes to 3,325 bytes, approximately a 26% reduction.
The proposal also includes a Python reference implementation and 93 test cases designed to establish consistent verification behavior across software implementations.
Of those tests, 31 cover proofs that should be accepted, while 62 cover invalid proofs that verification software must reject.
The specification would give Bitcoin Core, Electrum and other wallet developers a common framework for implementing witness verification.
Pablo has requested feedback on the proposed formats and verification requirements, leaving developers to determine whether a shared standard can replace the experimental approaches already in use.
-- Price
This content is provided for general informational purposes only and doesn't constitute financial, investment, legal, or tax advice. Any events, rewards, online promotions, or related information mentioned herein should not be considered a recommendation, solicitation, or invitation to purchase, sell, trade, or otherwise deal in any crypto assets. Crypto assets are highly volatile and may result in loss. The availability of WEEX services, products, and related events may vary by region. You are responsible for ensuring that your participation is in accordance with applicable local laws and regulations.
You may also like

A New Path for API3: Fixed Supply, On-Chain Curation, and Infrastructure for AI Agents

Where Will SpaceX Stock Be in 5 Years?

Kaiko reports 12 billion USD stablecoin net redemptions in 30 days

Warren Buffett's Successor, Greg Abel, Has Quietly Purchased 3 Stocks Since the Start of the Fourth Quarter, Including Shares of a Legal Monopoly

Not Tesla. Not Nvidia. This "Magnificent Seven" Stock Could Be Overdue for a Big Rally.

UK Pension Reform Releases £11 Billion Surplus from Fixed Income Plans

Bitcoin, US Stocks, and Gold: Which Will Bottom First?

Controllable Freezing, Unregulated Refunds: The On-Chain Power and Rule Vacuums of Stablecoin Duopoly

Bank of America Warns of Underestimated 'Hard Landing' Risk in 2027! Recommends 'GRAB' to Hedge Against Volatility, Consider Chips After Dollar Peaks

The Next Stablecoin: A Potential Market of Nearly $300 Billion with 50 Times Growth Opportunity

Republican Senator Criticizes Trump for Pressuring Nvidia Board

Return to Trading Ends, Facing 100% Rate Hike Next?

South Korea's AI Chip Exports Boost Expectations for Won Appreciation

Oklo Stock Faces Cash Flow Challenges, Valuation Drops to Below 4 Billion

U.S. Justice Department Charges Over 800 in Largest Fraud Crackdown, Freezes Over $1 Billion in Assets

Intel stock falls 8.1% amid investor retreat

Workday Q3 Earnings Exceed Expectations, Q4 Subscription Revenue Guidance Below Expectations

Nutanix Q1 Earnings Per Share at $0.73, Full-Year Revenue Guidance Below Expectations

Dell Just Reported Earnings and Raised Its Forecast by $10 Billion. Is the Stock a Buy After Tuesday's Selloff?

Strategy's Business Value Falls Below Its BTC and Bitmine Approaches 5% of ETH: What Remains of the Model...

Ethereum: AI Becomes a More Urgent Threat than Quantum

OPEC+ to Finalize 2027 Production Policy Amid Intensified Uncertainty from Iran War and Internal Disputes

The Battle of Personal Agents: Ambition and Restraint

Payment Giant Stripe Negotiates Acquisition Offer Valued Over $200 Billion, Launches Stablecoin Spending Card with Deel

Ansem and Satoshi Nakamoto: Living Under the Same 'Stolen' Roof

Quickben22 Rechecks 2018 Bitcoin Dormant Address List: Nearly 10,000 Dormant Addresses Restart Transfers After Eight Years, Transferring a Total of 245,000 BTC

Flop Labs Led by Arthur Hayes Launches FLOP Testnet, Initial Airdrop Scoring Not Yet Started

Bank of America Releases 2027 Investment Outlook: Global Stock Markets Could Rise 4%-8%! Improved Financial Environment Allows for Cryptocurrency Investments

UBS Downgrades Aixtron to Sell, Expects AI Optical Communication Equipment Demand to Slow by 2028, Shares Plunge Over 10%

Unitree Stock Hits 20% Limit-Up: What Drove the November 23 Surge
Unitree Robotics (688836) hit its 20% limit-up at ¥708 on Nov 23, 2026. See the price data, the reported catalysts, the valuation context and what is unconfirmed.






