#[repr(C)]pub struct ProposalTxs {
pub ext: ExtensionPoint,
pub signed_hash: ParallelSignedTransactionHashBatch,
pub nondeterministic_data: ParallelNondeterministicProposalDataBatch,
}Expand description
Transaction-side payload for a proposal.
This is the payload a ConsensusValue commits to through
ProposalTxsHash. The signed transactions travel separately, since nodes
usually already hold them from transaction dissemination. Because the
payload names each transaction by its SignedTransactionHash, a node
that holds a different signing of a body treats that transaction as
missing and fetches the proposer’s encoding.
Travels on network.
Fields§
§ext: ExtensionPoint§signed_hash: ParallelSignedTransactionHashBatchSigned hashes of the block’s transactions, in execution order: the exact encodings the block executes.
nondeterministic_data: ParallelNondeterministicProposalDataBatchNondeterministic choices captured by the proposer, replayed by validators so re-execution reproduces the header outputs exactly.
Trait Implementations§
Source§impl Clone for ProposalTxs
impl Clone for ProposalTxs
Source§fn clone(&self) -> ProposalTxs
fn clone(&self) -> ProposalTxs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ConstMaxSize for ProposalTxs
impl ConstMaxSize for ProposalTxs
Source§impl ConstMaxSize for ProposalTxs
impl ConstMaxSize for ProposalTxs
Source§impl Debug for ProposalTxs
impl Debug for ProposalTxs
Source§impl<'de> Deserialize<'de> for ProposalTxs
impl<'de> Deserialize<'de> for ProposalTxs
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProposalTxs, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProposalTxs, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl EncodesAs<ProposalTxs> for ProposalTxs
impl Eq for ProposalTxs
Source§impl Hash for ProposalTxs
impl Hash for ProposalTxs
Source§impl JsonSchema for ProposalTxs
impl JsonSchema for ProposalTxs
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for ProposalTxs
impl Ord for ProposalTxs
Source§fn cmp(&self, other: &ProposalTxs) -> Ordering
fn cmp(&self, other: &ProposalTxs) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ProposalTxs
impl PartialEq for ProposalTxs
Source§impl PartialOrd for ProposalTxs
impl PartialOrd for ProposalTxs
Source§impl<'_r> ReadXDR<'_r> for ProposalTxs
impl<'_r> ReadXDR<'_r> for ProposalTxs
Source§fn read_xdr<R>(r: &mut R) -> Result<ProposalTxs, ReadError>where
R: Reader<'_r>,
fn read_xdr<R>(r: &mut R) -> Result<ProposalTxs, ReadError>where
R: Reader<'_r>,
Reads an XDR value from the reader. Read more
Source§fn read_xdr_in_place<R, '__xdrs_s>(
r: &mut R,
__xdrs_slot: Slot<'__xdrs_s, ProposalTxs>,
) -> Result<Init<'__xdrs_s, ProposalTxs>, ReadError>where
R: Reader<'_r>,
fn read_xdr_in_place<R, '__xdrs_s>(
r: &mut R,
__xdrs_slot: Slot<'__xdrs_s, ProposalTxs>,
) -> Result<Init<'__xdrs_s, ProposalTxs>, ReadError>where
R: Reader<'_r>,
Reads an XDR value directly into
slot, without first building it
on the stack. Read moreSource§impl Serialize for ProposalTxs
impl Serialize for ProposalTxs
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ProposalTxs
Source§impl WriteXDR for ProposalTxs
impl WriteXDR for ProposalTxs
Source§fn write_xdr<F, W>(&self, w: &mut W) -> Result<(), WriteError>where
W: Writer<F>,
fn write_xdr<F, W>(&self, w: &mut W) -> Result<(), WriteError>where
W: Writer<F>,
Writes this value as XDR data to the writer. Read more
Source§unsafe fn write_xdr_unchecked<F, W>(&self, w: &mut W)where
W: WriterUnchecked<F>,
unsafe fn write_xdr_unchecked<F, W>(&self, w: &mut W)where
W: WriterUnchecked<F>,
Writes this value as XDR data to the writer, without runtime checks. Read more
Auto Trait Implementations§
impl Freeze for ProposalTxs
impl RefUnwindSafe for ProposalTxs
impl Send for ProposalTxs
impl Sync for ProposalTxs
impl Unpin for ProposalTxs
impl UnsafeUnpin for ProposalTxs
impl UnwindSafe for ProposalTxs
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