Expand description
CKB component to run the type/lock scripts.
Modules§
- cost_
model - CKB VM cost model.
Structs§
- Scheduler
- A single Scheduler instance is used to verify a single script within a CKB transaction.
- Script
Group - A script group is defined as scripts that share the same hash.
- Transaction
Script Error - Script execution error with the error source information.
- Transaction
Scripts Syscalls Generator - Syscalls can be generated individually by TransactionScriptsSyscallsGenerator.
- Transaction
Scripts Verifier - This struct leverages CKB VM to verify transaction inputs.
- Transaction
State - Struct specifies which script has verified so far. State is lifetime free, but capture snapshot need heavy memory copy
- TxData
- Context data for current running transaction & script
- TxVerify
Env - The environment that transactions are in.
Enums§
- Chunk
Command - ChunkCommand is used to control the verification process to suspend or resume
- Data
Piece Id - A pointer to the data that is part of the transaction.
- RunMode
- The scheduler’s running mode.
- Script
Error - Script execution error.
- Script
Group Type - The script group type.
- Script
Version - The version of CKB Script Verifier.
- Verify
Result - Enum represent resumable verify result
- VmState
- VM State.
Constants§
- ROOT_
VM_ ID - Root process’s id.
Type Aliases§
- Core
Machine - The type of core VM machine when uses ASM.
- VmIsa
- The type of CKB-VM ISA.
- VmVersion
- /// The type of CKB-VM version.