Given that computers operate in binary, we often see various limits and scopes come in powers of 2. How come there are not sixteen (0–15) but seventeen (0–16) different native segwit versions?
1 Answer
Segwit has 17 versions, because Script defines the constants OP_0
–OP_16
explicitly, while any other numbers would need to be added to the output script with OP_PUSHDATA
.
-
2
-