Enum ckb_script::ScriptVersion [−][src]
pub enum ScriptVersion {
V0,
V1,
}Expand description
The version of CKB Script Verifier.
Variants
CKB VM 0 with Syscall version 1.
CKB VM 1 with Syscall version 1 and version 2.
Implementations
Returns the version of CKB VM in current script version.
Creates a CKB VM core machine without cycles limit.
In fact, there is still a limit of max_cycles which is set to 2^64-1.
Creates a CKB VM core machine.
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ScriptVersionimpl Send for ScriptVersionimpl Sync for ScriptVersionimpl Unpin for ScriptVersionimpl UnwindSafe for ScriptVersionBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V