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
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,11 +103,11 @@ The specification about the tag is [here](Tag-encoding.md)
103
103
104
104
## Timelock
105
105
* CHKTIMELOCK(0xb0)
106
-
1.Pop one item from the stack, which is the encoded number for the 4 types of timelock. It must be between 1 and 4. The script will fail otherwise.
106
+
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.
107
107
- 1: Block
108
108
- 2: BlockAge
109
109
- 3: Time
110
110
- 4: TimeAge
111
-
2. Pop one more item from stack, which is the value of the timelock. It must be a 64-bit unsigned integer. The script will fail if the length of the item exceeds 8.
111
+
2. Pop one item from stack, which is the value of the timelock. It must be a 64-bit unsigned integer. The script will fail if the length of the item exceeds 8.
112
112
2. Check the condition given the type and the value referring to the block number and the timestamp of the best block. See the `Timelock` section in [Transaction](Transaction.md) for more details.
113
113
3. Push true if the condition is met, false otherwise.
0 commit comments