You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec/CodeChain-Virtual-Machine.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ Leading zeros must be truncated. Note that it is allowed to decode a value with
85
85
1. Pop n values, which are distinct public keys.
86
86
1. Pop one value, the value is m in the m-of-n Multisig. The value must be less than or equal to the value n.
87
87
1. Pop m values, which are distinct signatures. The signature scheme is the same as CHKSIG.
88
-
1. Pop the tag value.
88
+
1. Pop the tag value.
89
89
1. Verify the signatures over the transaction message filtered by the tag. The signatures must be ordered the same way as the public keys.
90
90
1. Push true on success, false otherwise.
91
91
The specification about the tag is [here](Tag-encoding.md)
@@ -98,9 +98,6 @@ The specification about the tag is [here](Tag-encoding.md)
98
98
* KECCAK256(0x93): Pop one value from the stack, and push the keccak-256 hash of it.
99
99
* BLAKE160(0x94): Pop one value from the stack, and push the blake-160 hash of it. Blake-160 here refers to blake2b with a 20 byte output.
100
100
101
-
## Environment
102
-
* BLKNUM(0xa0): Push the block number specified in the transaction to the stack as an integer. If there's no specified block number, the machine must fail immediately.
103
-
104
101
## Timelock
105
102
* CHKTIMELOCK(0xb0)
106
103
1. Read the next script byte which is the encoded number for the 4 types of timelock. It must be between 1 and 4. The script will fail otherwise.
0 commit comments