Enum ckb_types::core::ScriptHashType [−][src]
pub enum ScriptHashType {
Data,
Type,
Data1,
}
Expand description
Specifies how the script code_hash
is used to match the script code and how to run the code.
Variants
Type “data” matches script code via cell data hash, and run the script code in v0 CKB VM.
Type “type” matches script code via cell type script hash.
Type “data” matches script code via cell data hash, and run the script code in v1 CKB VM.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ScriptHashType
impl Send for ScriptHashType
impl Sync for ScriptHashType
impl Unpin for ScriptHashType
impl UnwindSafe for ScriptHashType
Blanket Implementations
Mutably borrows from an owned value. Read more