[][src]Struct monero::util::ringct::RctSigPrunable

pub struct RctSigPrunable {
    pub range_sigs: Vec<RangeSig>,
    pub bulletproofs: Vec<Bulletproof>,
    pub MGs: Vec<MgSig>,
    pub CLSAGs: Vec<CLSAG>,
    pub pseudo_outs: Vec<Key>,
}

Prunable part of RingCT signature format

Fields

range_sigs: Vec<RangeSig>

Range signatures

bulletproofs: Vec<Bulletproof>

Bulletproofs

MGs: Vec<MgSig>

MSLAG signatures, simple rct has N, full has 1

CLSAGs: Vec<CLSAG>

CSLAG signatures

pseudo_outs: Vec<Key>

Pseudo out vector

Implementations

impl RctSigPrunable[src]

pub fn consensus_decode<D: Decoder>(
    d: &mut D,
    rct_type: RctType,
    inputs: usize,
    outputs: usize,
    mixin: usize
) -> Result<Option<RctSigPrunable>, Error>
[src]

Decode a prunable RingCT signature given the number of inputs and outputs in the transaction, the RingCT type and the number of mixins

pub fn consensus_encode<S: Encoder>(
    &self,
    s: &mut S,
    rct_type: RctType
) -> Result<(), Error>
[src]

Encode the prunable RingCT signature part given the RingCT type of the transaction

Trait Implementations

impl Clone for RctSigPrunable[src]

impl Debug for RctSigPrunable[src]

Auto Trait Implementations

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> From<T> for T[src]

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

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.