Struct ckb_script::TransactionState [−][src]
pub struct TransactionState<'a> {
pub current: (ScriptGroupType, Byte32),
pub remain: Vec<(ScriptGroupType, Byte32)>,
pub vm: ResumableMachine<'a>,
pub current_cycles: Cycle,
pub limit_cycles: Cycle,
pub enable_backup_page_flags: bool,
pub flags_tracing: Vec<(u64, u64)>,
}Expand description
Struct specifies which script has verified so far. State lifetime bound with vm machine.
Fields
current: (ScriptGroupType, Byte32)current suspended script
remain: Vec<(ScriptGroupType, Byte32)>remain script groups to verify
vm: ResumableMachine<'a>vm state
current_cycles: Cyclecurrent consumed cycle
limit_cycles: Cyclelimit cycles
enable_backup_page_flags: boolenable snapshot page dirty flags
flags_tracing: Vec<(u64, u64)>tracing data as code page index