pub struct ScriptExecutionData {
pub tapleaf_hash_init: bool,
pub tapleaf_hash: TapLeafHash,
pub codeseparator_pos_init: bool,
pub codeseparator_pos: u32,
pub annex_init: bool,
pub annex_present: bool,
pub annex_hash: H256,
pub annex: Option<Vec<u8>>,
pub validation_weight_left_init: bool,
pub validation_weight_left: i64,
pub output_hash: Option<H256>,
}Fields§
§tapleaf_hash_init: boolWhether m_tapleaf_hash is initialized
tapleaf_hash: TapLeafHashThe tapleaf hash
codeseparator_pos_init: boolWhether m_codeseparator_pos is initialized
codeseparator_pos: u32Opcode position of the last executed OP_CODESEPARATOR (or 0xFFFFFFFF if none executed)
annex_init: boolWhether m_annex_present and m_annex_hash are initialized
annex_present: boolWhether an annex is present
annex_hash: H256Hash of the annex data
annex: Option<Vec<u8>>Annex data.
We store the annex data for signature_checker.
validation_weight_left_init: boolWhether m_validation_weight_left is initialized
validation_weight_left: i64How much validation weight is left (decremented for every successful non-empty signature check)
output_hash: Option<H256>The hash of the corresponding output
Trait Implementations§
Source§impl Debug for ScriptExecutionData
impl Debug for ScriptExecutionData
Auto Trait Implementations§
impl Freeze for ScriptExecutionData
impl RefUnwindSafe for ScriptExecutionData
impl Send for ScriptExecutionData
impl Sync for ScriptExecutionData
impl Unpin for ScriptExecutionData
impl UnwindSafe for ScriptExecutionData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more