summaryrefslogtreecommitdiff
path: root/bip-0173.mediawiki
diff options
context:
space:
mode:
authorMatthew Zipkin <pinheadmz@gmail.com>2021-01-05 10:10:50 -0500
committerMatthew Zipkin <pinheadmz@gmail.com>2021-01-05 10:10:50 -0500
commite1e7b77c027b3d40d07d306cc75c2b5859c91db2 (patch)
tree7bedde8b9a965fdebfe74b6b5e14902d5dd6eec2 /bip-0173.mediawiki
parentcf0b529e78860fa2d4fe77944091aa98c5e04624 (diff)
downloadbips-e1e7b77c027b3d40d07d306cc75c2b5859c91db2.tar.xz
BIP173: segwit address witness version is one 5-bit char not one byte
Diffstat (limited to 'bip-0173.mediawiki')
-rw-r--r--bip-0173.mediawiki2
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-0173.mediawiki b/bip-0173.mediawiki
index c3ee060..1fdd8be 100644
--- a/bip-0173.mediawiki
+++ b/bip-0173.mediawiki
@@ -208,7 +208,7 @@ be of the same length as the mainnet counterpart (to simplify
implementations' assumptions about lengths), but still be visually
distinct.</ref> for testnet.
* The data-part values:
-** 1 byte: the witness version
+** 1 character (representing 5 bits of data): the witness version
** A conversion of the 2-to-40-byte witness program (as defined by [https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki BIP141]) to base32:
*** Start with the bits of the witness program, most significant bit per byte first.
*** Re-arrange those bits into groups of 5, and pad with zeroes at the end if needed.