Skip to content

Commit accaee0

Browse files
committed
bip-0300: Define endianness of upvote vector
1 parent 9d4ec80 commit accaee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bip-0300.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ For example: if there are two sidechains, and we wish to upvote the 7th bundle o
290290
The version number allows us to shrink the upvote vector in many cases.
291291
Version 0x00 omits the upvote vector entirely (ie, 6 bytes for the whole M4) and sets this block's M4 equal to the previous block's M4.
292292
Version 0x01 uses one byte per sidechain, and can be used while all ACKed withdrawals have an index under 256 (ie, 99.99%+ of the time).
293-
Version 0x02 uses a full two bytes per sidechain, but it always works no matter how many withdrawl proposals exist.
293+
Version 0x02 uses a full two bytes per sidechain (each encoded in little endian), but it always works no matter how many withdrawl proposals exist.
294294
Version 0x03 omits the upvote vector, and instead upvotes only those withdrawals that are leading their rivals by at least 50 votes.
295295

296296
If a sidechain has no pending bundles, then it is skipped over when M4 is created and parsed.

0 commit comments

Comments
 (0)