ElementsProject / ElementsProject/elements

Non-witness transactions cannot include issuances

オープン
#473 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
consensus
主要言語
C++
スター
1.2k
フォーク
417
平均マージ
1日 23時間
マージ済み PR(30日)
15

説明

Transaction serialization requires that witness-empty transactions have empty witness vectors for inputs and outputs. While fixing the OOB access in VerifyAmounts we accidentally softforked out the ability to have issuances in transactions with no other witness data. In real-life usage this is fairly unlikely, since any blinding, any segwit signatures, and any peg-in data make this not true.

related: https://github.com/ElementsProject/elements/pull/472

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by reading the transaction serialization rules described in the issue and the VerifyAmounts path, then compare the related pull request #472. The fix is complete when transactions containing issuances can serialize and verify without any other witness data, while witness-empty transactions still preserve their required empty witness vectors.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cpp
領域
blockchain
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。