Struct ckb_verification::ScriptVerifyState
source · [−]pub struct ScriptVerifyState<'a> {
pub current: usize,
pub vm: Option<ResumableMachine<'a>>,
pub current_cycles: u64,
pub limit_cycles: u64,
pub enable_backup_page_flags: bool,
pub flags_tracing: Vec<(u64, u64), Global>,
}Expand description
Struct specifies which script has verified so far. State lifetime bound with vm machine.
Fields
current: usizecurrent suspended script index
vm: Option<ResumableMachine<'a>>vm state
current_cycles: u64current consumed cycle
limit_cycles: u64limit cycles
enable_backup_page_flags: boolenable snapshot page dirty flags
flags_tracing: Vec<(u64, u64), Global>tracing data as code page index
Implementations
sourceimpl<'_> TransactionState<'_>
impl<'_> TransactionState<'_>
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for TransactionState<'a>
impl<'a> !Send for TransactionState<'a>
impl<'a> !Sync for TransactionState<'a>
impl<'a> Unpin for TransactionState<'a>
impl<'a> !UnwindSafe for TransactionState<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more