[][src]Struct grin_wallet_libwallet::slate_versions::v4::SlateV4

pub struct SlateV4 {
    pub ver: VersionCompatInfoV4,
    pub id: Uuid,
    pub sta: SlateStateV4,
    pub off: BlindingFactor,
    pub num_parts: u8,
    pub amt: u64,
    pub fee: u64,
    pub feat: u8,
    pub ttl: u64,
    pub sigs: Vec<ParticipantDataV4>,
    pub coms: Option<Vec<CommitsV4>>,
    pub proof: Option<PaymentInfoV4>,
    pub feat_args: Option<KernelFeaturesArgsV4>,
}

Fields

ver: VersionCompatInfoV4

Versioning info

id: Uuid

Unique transaction ID, selected by sender

sta: SlateStateV4

Slate state

off: BlindingFactor

Offset, modified by each participant inserting inputs as the transaction progresses

num_parts: u8

The number of participants intended to take part in this transaction

amt: u64

base amount (excluding fee)

fee: u64

fee amount

feat: u8

kernel features, if any

ttl: u64

TTL, the block height at which wallets should refuse to process the transaction and unlock all

sigs: Vec<ParticipantDataV4>

Participant data, each participant in the transaction will insert their public data here. For now, 0 is sender and 1 is receiver, though this will change for multi-party

coms: Option<Vec<CommitsV4>>

Inputs/Output commits added to slate

proof: Option<PaymentInfoV4>

Payment Proof

feat_args: Option<KernelFeaturesArgsV4>

Kernel features arguments

Trait Implementations

impl Clone for SlateV4[src]

impl Debug for SlateV4[src]

impl<'de> Deserialize<'de> for SlateV4[src]

impl<'_> From<&'_ Slate> for SlateV4[src]

impl<'_> From<&'_ SlateV4> for Option<Transaction>[src]

impl<'_> From<&'_ SlateV4> for Option<TransactionV3>[src]

impl From<Slate> for SlateV4[src]

impl From<SlateV3> for SlateV4[src]

impl From<SlateV4> for Slate[src]

impl From<SlateV4> for SlateV4Bin[src]

impl From<SlateV4Bin> for SlateV4[src]

impl Serialize for SlateV4[src]

impl<'_> TryFrom<&'_ SlateV4> for SlateV3[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for SlateV4

impl Send for SlateV4

impl Sync for SlateV4

impl Unpin for SlateV4

impl UnwindSafe for SlateV4

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Clone + Any

impl<T> DebugAny for T where
    T: Any + Debug

impl<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Clone + Send + Sync

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone

impl<T> SafeBorrow<T> for T where
    T: ?Sized

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,