#[repr(C)]pub struct ReplicaDeshredTransactionInfo<'a> {
pub signature: &'a Signature,
pub is_vote: bool,
pub transaction: &'a VersionedTransaction,
pub loaded_addresses: Option<&'a LoadedAddresses>,
}Expand description
Information about a transaction after deshredding (when entries are formed from shreds). This is sent before any execution occurs. Unlike ReplicaTransactionInfo, this does not include TransactionStatusMeta since execution has not happened yet.
Fields§
§signature: &'a SignatureThe transaction signature, used for identifying the transaction.
is_vote: boolIndicates if the transaction is a simple vote transaction.
transaction: &'a VersionedTransactionThe versioned transaction.
loaded_addresses: Option<&'a LoadedAddresses>Addresses loaded from address lookup tables for V0 transactions.
Resolution uses the rooted bank, so address lookup tables created between
the root slot and the current slot will not resolve. This field is None
for legacy transactions, when the transaction has no address table lookups,
when ALT resolution is not enabled by the plugin, or when resolution fails
(e.g. the lookup table account does not exist at the root slot).
Trait Implementations§
Source§impl<'a> Clone for ReplicaDeshredTransactionInfo<'a>
impl<'a> Clone for ReplicaDeshredTransactionInfo<'a>
Source§fn clone(&self) -> ReplicaDeshredTransactionInfo<'a>
fn clone(&self) -> ReplicaDeshredTransactionInfo<'a>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for ReplicaDeshredTransactionInfo<'a>
impl<'a> RefUnwindSafe for ReplicaDeshredTransactionInfo<'a>
impl<'a> Send for ReplicaDeshredTransactionInfo<'a>
impl<'a> Sync for ReplicaDeshredTransactionInfo<'a>
impl<'a> Unpin for ReplicaDeshredTransactionInfo<'a>
impl<'a> UnsafeUnpin for ReplicaDeshredTransactionInfo<'a>
impl<'a> UnwindSafe for ReplicaDeshredTransactionInfo<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more