Skip to content

Commit a5f03bb

Browse files
authored
BIP143: private key for example
1 parent f207ecf commit a5f03bb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bip-0143.mediawiki

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ Refer to the reference implementation, reproduced below, for the precise algorit
139139
nLockTime: 11000000
140140
141141
The first input comes from an ordinary P2PK:
142-
scriptPubKey: 2103c9f4836b9a4f77fc0d81f7bcb01b7f1b35916864b9476c241ce9fc198bd25432ac value: 6.25
142+
scriptPubKey : 2103c9f4836b9a4f77fc0d81f7bcb01b7f1b35916864b9476c241ce9fc198bd25432ac value: 6.25
143+
private key : bbc27228ddcb9209d7fd6f36b02f7dfa6252af40bb2f1cbc7a557da8027ff866
143144
144145
The second input comes from a P2WPKH witness program:
145146
scriptPubKey : 00141d0f172a0ecb48aee1be1f2687d2963ae33f71a1, value: 6
@@ -418,7 +419,7 @@ This example is a P2SH-P2WSH 6-of-6 multisig witness program signed with 6 diffe
418419
= 3bb13029ce7b1f559ef5e747fcac439f1455a2ec7c5f09b72290795e70665044
419420
420421
hashOutputs for ALL:
421-
dSHA256(00e9a435000000001976a914389ffce9cd9ae88dcc0631e88a821ffdbe9bfe2688acc0832f05000000001976a9147480a33f950689af511e6e84c138dbbd3c3ee41588ac)
422+
dSHA256(00e9a435000000001976a914389ffce9cd9ae88dcc0631e88a821ffdbe9bfe2688acc0832f05000000001976a9147480a33f950689af511e6e84c138dbbd3c3ee41588ac)
422423
= bc4d309071414bed932f98832b27b4d76dad7e6c1346f487a8fdbb8eb90307cc
423424
424425
hashOutputs for SINGLE:

0 commit comments

Comments
 (0)