Posted by moonsettler
Jan 1, 2025/00:19 UTC
The discussion revolves around the operational functionality and design decisions concerning OP_INPUTAMOUNTS
and OP_TEMPLATEHASH
. Specifically, OP_INPUTAMOUNTS
has the capability to return values up to the total supply cap. There is a choice to be made regarding whether this operation should execute in a compact form or if it should always employ 64 bits padded with zeros. Opting for a compact form would facilitate arithmetic operations on amounts smaller than 42 BTC within transaction sizes, an aspect that might be appealing to some while possibly being less favorable to others due to varying preferences and needs.
Furthermore, the OP_TEMPLATEHASH
operation is designed to accept amounts up to 64 bits and is generally accommodating towards all numeric inputs presented in a compact integer format. This inclusivity towards numerical inputs underscores a flexible approach towards handling various types of data, potentially enhancing the operation's utility and applicability across different scenarios.
TLDR
We’ll email you summaries of the latest discussions from authoritative bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.
We'd love to hear your feedback on this project?
Give Feedback