[−][src]Struct solana_libra_types::proto::types::TransactionListWithProof
A list of consecutive transactions with proof. This is mainly used for state synchronization when a validator would request a list of transactions from a peer, verify the proof, execute the transactions and persist them. Note that the transactions are supposed to belong to the same epoch E, otherwise verification will fail.
Fields
transactions: Vec<SignedTransaction>
The list of transactions.
infos: Vec<TransactionInfo>
The list of corresponding TransactionInfo objects.
events_for_versions: Option<EventsForVersions>
The list of corresponding Event objects (only present if fetch_events was set to true in req)
first_transaction_version: Option<u64>
If the list is not empty, the version of the first transaction.
proof_of_first_transaction: Option<AccumulatorProof>
The proofs of the first and last transaction in this chunk. When this is used for state synchronization, the validator who requests the transactions will provide a version in the request and the proofs will be relative to the given version. When this is returned in GetTransactionsResponse, the proofs will be relative to the ledger info returned in UpdateToLatestLedgerResponse.
proof_of_last_transaction: Option<AccumulatorProof>
Trait Implementations
impl Clone for TransactionListWithProof
[src]
fn clone(&self) -> TransactionListWithProof
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TransactionListWithProof
[src]
impl Default for TransactionListWithProof
[src]
fn default() -> TransactionListWithProof
[src]
impl From<TransactionListWithProof> for TransactionListWithProof
[src]
fn from(txn: TransactionListWithProof) -> Self
[src]
impl Message for TransactionListWithProof
[src]
fn encode_raw<B>(&self, buf: &mut B) where
B: BufMut,
[src]
B: BufMut,
fn merge_field<B>(&mut self, buf: &mut B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
fn encoded_len(&self) -> usize
[src]
fn clear(&mut self)
[src]
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
fn decode<B>(buf: B) -> Result<Self, DecodeError> where
B: IntoBuf,
Self: Default,
[src]
B: IntoBuf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: IntoBuf,
Self: Default,
[src]
B: IntoBuf,
Self: Default,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: IntoBuf,
[src]
B: IntoBuf,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: IntoBuf,
[src]
B: IntoBuf,
impl PartialEq<TransactionListWithProof> for TransactionListWithProof
[src]
fn eq(&self, other: &TransactionListWithProof) -> bool
[src]
fn ne(&self, other: &TransactionListWithProof) -> bool
[src]
impl StructuralPartialEq for TransactionListWithProof
[src]
impl TryFrom<TransactionListWithProof> for TransactionListWithProof
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(proto: TransactionListWithProof) -> Result<Self>
[src]
Auto Trait Implementations
impl RefUnwindSafe for TransactionListWithProof
impl Send for TransactionListWithProof
impl Sync for TransactionListWithProof
impl Unpin for TransactionListWithProof
impl UnwindSafe for TransactionListWithProof
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
T: InitializableFromZeroed + ?Sized,
fn clear(&mut self)
impl<T> From<T> for T
[src]
impl<T> InitializableFromZeroed for T where
T: Default,
T: Default,
unsafe fn initialize(place: *mut T)
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,