pub struct ResolvedSibling<'a> {
pub relative_index: i8,
pub program_id: Pubkey,
pub data: &'a [u8],
pub accounts: &'a [Pubkey],
}Expand description
A top-level sibling instruction already read from the transaction, supplied
to the hash so Op::IngestSiblingInstruction/Op::IngestSiblingAccount
can fold its observed fields. On-chain the relay reads these from the
instructions sysvar; off-chain the admin supplies the intended sibling when
precomputing the authorized hash. Hashing stays a pure function of its
inputs — it never touches the sysvar itself.
Fields§
§relative_index: i8§program_id: Pubkey§data: &'a [u8]§accounts: &'a [Pubkey]Auto Trait Implementations§
impl<'a> Freeze for ResolvedSibling<'a>
impl<'a> RefUnwindSafe for ResolvedSibling<'a>
impl<'a> Send for ResolvedSibling<'a>
impl<'a> Sync for ResolvedSibling<'a>
impl<'a> Unpin for ResolvedSibling<'a>
impl<'a> UnsafeUnpin for ResolvedSibling<'a>
impl<'a> UnwindSafe for ResolvedSibling<'a>
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