1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-05-12 12:03:29 +00:00

Merge pull request #364 from jl2012/patch-13

BIP143: Provide private key used in the example
This commit is contained in:
Luke-Jr 2016-03-28 21:24:30 +00:00
commit ba16f16742

View File

@ -138,6 +138,8 @@ Refer to the reference implementation, reproduced below, for the precise algorit
The second input comes from a P2WPKH witness program:
scriptPubKey : 00141d0f172a0ecb48aee1be1f2687d2963ae33f71a1, value: 6
private key : 619c335025c7f4012e556c2a58b2506e30b8511b53ade95ea316fd8c3286feb9
public key : 025476c2e83188368da1ff3e292e7acafcdb3566bb0ad253f62fc70f07aeee6357
To sign it with a nHashType of 1 (SIGHASH_ALL):