summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Heilman <ethan.r.heilman@gmail.com>2023-12-15 09:54:50 -0500
committerGitHub <noreply@github.com>2023-12-15 09:54:50 -0500
commit7180c1cf8c478ed53ee65705e34fc61975f96239 (patch)
treea07fd8a4489f768adeb4eac9406493194269411c
parent945e2a374249114c313d6204d7db61dfe496fe97 (diff)
downloadbips-7180c1cf8c478ed53ee65705e34fc61975f96239.tar.xz
Prefer bytes to Bytes
Co-authored-by: Vojtěch Strnad <43024885+vostrnad@users.noreply.github.com>
-rw-r--r--bip-???-cat.mediawiki2
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-???-cat.mediawiki b/bip-???-cat.mediawiki
index ef026fd..2a39158 100644
--- a/bip-???-cat.mediawiki
+++ b/bip-???-cat.mediawiki
@@ -20,7 +20,7 @@ When evaluated the OP_CAT instruction:
# concatenates the popped values together,
# and then pushes the concatenated value on the top of the stack.
-OP_CAT fails if there are less than two values on the stack or if a concatenated value would have a combined size greater than the maximum script element size of 520 Bytes.
+OP_CAT fails if there are less than two values on the stack or if a concatenated value would have a combined size greater than the maximum script element size of 520 bytes.
==Motivation==
Bitcoin tapscript lacks a general purpose way of combining objects on the stack restricting the expressiveness and power of tapscript. This prevents among many other things the ability to construct and evaluate merkle trees and other hashed data structures in tapscript. OP_CAT by adding a general purpose way to concatenate stack values would overcome this limitation and greatly increase the functionality of tapscript.