Skip to content

Commit 7e4dec0

Browse files
committed
Links to reference implementation
1 parent c25f1e7 commit 7e4dec0

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

bip-0141.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ Special thanks to Gregory Maxwell for originating many of the ideas in this BIP
254254

255255
== Reference Implementation ==
256256

257-
https://github.com/sipa/bitcoin/commits/segwit3
257+
https://github.com/sipa/bitcoin/commits/segwit
258258

259259
== References ==
260260

bip-0142.mediawiki

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ Using 0x06 as witness version, followed 0x00 as witness version, and a 0x00 padd
140140
141141
== Reference implementation ==
142142

143+
https://github.com/theuni/bitcoin/commit/ede1b57058ac8efdefe61f67395affb48f2c0d80
144+
143145
== References ==
144146

145147
* [[bip-0013.mediawiki|BIP 13: Address Format for pay-to-script-hash]]

bip-0143.mediawiki

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<pre>
1+
<pre>
22
BIP: 143
33
Title: Transaction Signature Verification for Version 0 Witness Program
44
Author: Johnson Lau <[email protected]>
@@ -41,7 +41,7 @@ The item 5:
4141
*For P2WPKH witness program, the scriptCode is <code>0x1976a914{20-byte-pubkey-hash}88ac</code>.
4242
*For P2WSH witness program,
4343
**if the <code>witnessScript</code> does not contain any <code>OP_CODESEPERATOR</code>, the <code>scriptCode</code> is a <code>varInt</code> for the length of the <code>witnessScript</code>, followed by the <code>witnessScript</code>.
44-
**if the <code>witnessScript</code> contains any <code>OP_CODESEPERATOR</code>, the <code>scriptCode</code> is the evaluated script, with all <code>OP_CODESEPARATOR</code> and everything up to the last <code>OP_CODESEPARATOR</code> before the signature checking opcode being executed removed, and prepended by a <code>varInt</code> for the length of the trancated script.
44+
**if the <code>witnessScript</code> contains any <code>OP_CODESEPERATOR</code>, the <code>scriptCode</code> is the evaluated script, with all <code>OP_CODESEPARATOR</code> and everything up to the last <code>OP_CODESEPARATOR</code> before the signature checking opcode being executed removed, and prepended by a <code>varInt</code> for the length of the truncated script.
4545
4646
The item 6 is a 8-byte value of the amount of bitcoin spent in this input.
4747

@@ -191,7 +191,7 @@ As a soft fork, older software will continue to operate without modification. No
191191

192192
== Reference Implementation ==
193193

194-
https://github.com/sipa/bitcoin/commits/segwit3
194+
https://github.com/sipa/bitcoin/commits/segwit
195195

196196
== References ==
197197

bip-0144.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ MSG_WITNESS_BLOCK requests will return a block message with transactions that ha
116116
Special thanks to Gregory Maxwell for originating many of the ideas in this BIP and Luke-Jr for figuring out how to deploy this as a soft fork.
117117

118118
== Reference Implementation ==
119-
https://github.com/sipa/bitcoin/commits/segwit3
119+
https://github.com/sipa/bitcoin/commits/segwit
120120

121121
== Copyright ==
122122
This document is placed in the public domain.

0 commit comments

Comments
 (0)