Skip to content

Commit

Permalink
Merge pull request #5 from MarcoFalke/patch-1
Browse files Browse the repository at this point in the history
Fix syntax error </ref>
  • Loading branch information
jl2012 committed Jan 7, 2016
2 parents fd55dd9 + 627ffec commit 7cecfac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bip-segwit-checksig.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ A new transaction digest algorithm is defined, but only applicable to sigops in
9. nLocktime of the transaction
10. sighash type of the signature

The items 1, 4, 5, 7, 9, 10 have the same meaning as the original algorithm. <ref name=wiki>
The items 1, 4, 5, 7, 9, 10 have the same meaning as the original algorithm. <ref name=wiki></ref>

The item 6 is a 8-byte value of the amount of bitcoin spent in this input.

Expand All @@ -56,7 +56,7 @@ The hashPrevouts, hashSequence, and hashOutputs calculated in an earlier verific

Refer to the reference implementation, reproduced below, for the precise algorithm:

<source lang="cpp">
uint256 hashPrevouts;
uint256 hashSequence;
uint256 hashOutputs;
Expand Down Expand Up @@ -110,6 +110,7 @@ Refer to the reference implementation, reproduced below, for the precise algorit
ss << nHashType;

return ss.GetHash();
</source>

== Deployment ==

Expand Down

0 comments on commit 7cecfac

Please sign in to comment.