0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Segwitについて1

Posted at

malleability問題の解決策として

具体的な変更点はまだまだあるので後でまとめます。
今回はalleability問題の解決策としての項目をまとめました。

署名スクリプトの管理


従来のトランザクション構造ではscript_sigの部分だけ署名されずにいた(署名データ自体を署名する意味はない)のでここを改竄することで、ビットコイン展性が生まれてしまっていた。そこで、Segwittではこのscript_sigを空にし、新たにwitnessという署名スクリプトの格納場所を設ける事で、仮に署名スクリプトが改竄されてもtxid自体は変化しないようになる。これで展性を防げる。
*注意*
・署名が不要になるわけではない。
・サイズやデータが変更されるわけでもない。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?