Skip to content

Commit c7a902f

Browse files
authored
[trivial] Correct typos
least <- lest hashes <- hashses addendum <- ammendum
1 parent 4e90ce8 commit c7a902f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bip-0098.mediawiki

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ In tabular form, these code values are:
176176
|}
177177

178178
These 3-bit codes are packed into a byte array such that eight (8) codes would fit in every three (3) bytes.
179-
The order of filling a byte begins with the most significant bit <code>0x80</code> and ends with the lest significant bit <code>0x01</code>.
179+
The order of filling a byte begins with the most significant bit <code>0x80</code> and ends with the least significant bit <code>0x01</code>.
180180
Unless the number of inner nodes is a multiple of eight (8), there will be excess low-order bits in the final byte of serialization.
181181
These excess bits must be zero.
182182

@@ -244,7 +244,7 @@ and is exactly equal to the number of inner nodes serialized as the beginning of
244244
The variable-length integer encoding has the property that serialized integers, sorted lexigraphically, will also be sorted numerically.
245245
Since the first serialized item is the number of inner nodes, sorting proofs lexigraphically has the effect of sorting the proofs by the amount of work required to verify.
246246

247-
The number of hashes required as input for verification of a proof is N+1 minus the number of SKIP hashses,
247+
The number of hashes required as input for verification of a proof is N+1 minus the number of SKIP hashes,
248248
and can be quickly calculated without parsing the tree structure.
249249

250250
The coding and packing rules for the serialized tree structure were also chosen to make lexigraphical comparison useful (or at least not meaningless).
@@ -264,7 +264,7 @@ which has the additional benefit of enabling log-space verification algorithms.
264264
==Fast Merkle Lists==
265265

266266
Many applications use a Merkle tree to provide indexing of, or compact membership proofs about the elements in a list.
267-
This ammendum specifies an algorithm that constructs a canonical balanced tree structure for lists of various lengths.
267+
This addendum specifies an algorithm that constructs a canonical balanced tree structure for lists of various lengths.
268268
It differs in a subtle but important way from the algorithm used by Satoshi so as to structurally prevent the vulnerability described in [1].
269269

270270
# Begin with a list of arbitrary data strings.

0 commit comments

Comments
 (0)