Bitcoin developers propose fix for transaction verification gap affecting Lightning wallets

Jean Pablo’s proposal grew out of Electrum’s Lightning work and gives developers 93 cases for testing proof verification. Read the full story on CryptoSlateUnderstand the crypto stories that matter and what to watch next. Get The Catalyst in your inbox

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.

Together, these checks allow wallets to authenticate witness data without downloading and examining the entire block.

Originally published by cryptoslate Aggregated for informational purposes. All rights belong to the original publisher.
← Back to all news