fix example for Native P2WPKH #693

pull 4tochka wants to merge 1 commits into bitcoin:master from bitaps-com:master changing 1 files +8 −6
  1. 4tochka commented at 9:33 AM on June 27, 2018: none

    First input P2PKH missed public key is script sig ( P2PKH script sig : <signature> <public_key> )

    Incorrect witness field bytes, changed according to bip 141: The witness is a serialization of all witness data of the transaction. Each txin is associated with a witness field. A witness field starts with a var_int to indicate the number of stack items for the txin. It is followed by stack items, with each item starts with a var_int to indicate the length. A non-witness program (defined hereinafter) txin MUST be associated with an empty witness field, represented by a 0x00.

  2. fix example for Native P2WPKH
    First input P2PKH missed public key is script sig ( P2PKH script sig : <signature> <public_key> )
    
    Incorrect witness field bytes, changed according to bip 141: The witness is a serialization of all witness data of the transaction. Each txin is associated with a witness field. A witness field starts with a var_int to indicate the number of stack items for the txin. It is followed by stack items, with each item starts with a var_int to indicate the length. A non-witness program (defined hereinafter) txin MUST be associated with an empty witness field, represented by a 0x00.
    789ff482a3
  3. 4tochka closed this on Jun 27, 2018

Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bips. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-01 20:10 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me