You've already forked CHIP-MilliSatoshi
Spellcheck
This commit is contained in:
@@ -254,7 +254,7 @@ goes into some detail on this topic.
|
||||
|
||||
The introspection opcodes should be able to dictate which of the two
|
||||
representations of value they want to use. Notice, however, that such a
|
||||
choice should only ever happen once per scriptsince changing
|
||||
choice should only ever happen once per script since changing
|
||||
mid-calculation is bound to cause problems.
|
||||
|
||||
We introduce `OP_SET_VALUE_MODE` a new opcode with code-point `0xTODO` that switches between Values with 8 digits behind the full unit and 11 digits.
|
||||
@@ -271,11 +271,11 @@ quick overview of technical changes:
|
||||
* TX version would tell parsers they need to decode the TX differently.
|
||||
* OPcode would maintain past & future contracts consistent:
|
||||
* if executed then OP_*VALUE introspection opcodes would return
|
||||
milisats instead of sats (irrespective of TX version)
|
||||
millisats instead of sats (irrespective of TX version)
|
||||
* if not executed then OP_*VALUE introspection would return sats
|
||||
irrespective of TX version, and if underlying prevout/output used
|
||||
milisats then they are truncated e.g. returned value will be:
|
||||
milisats / 1000, where / is integer division.
|
||||
millisats then they are truncated e.g. returned value will be:
|
||||
millisats / 1000, where / is integer division.
|
||||
|
||||
# Feedback & Reviews
|
||||
|
||||
|
||||
Reference in New Issue
Block a user