[][src]Struct grin_keychain::BlindSum

pub struct BlindSum {
    pub positive_key_ids: Vec<ValueExtKeychainPath>,
    pub negative_key_ids: Vec<ValueExtKeychainPath>,
    pub positive_blinding_factors: Vec<BlindingFactor>,
    pub negative_blinding_factors: Vec<BlindingFactor>,
}

Accumulator to compute the sum of blinding factors. Keeps track of each factor as well as the "sign" with which they should be combined.

Fields

Methods

impl BlindSum
[src]

Creates a new blinding factor sum.

Adds the provided key to the sum of blinding factors.

Subtracts the provided key to the sum of blinding factors.

Trait Implementations

impl PartialEq<BlindSum> for BlindSum
[src]

impl Clone for BlindSum
[src]

Performs copy-assignment from source. Read more

impl Debug for BlindSum
[src]

Auto Trait Implementations

impl Send for BlindSum

impl Sync for BlindSum

Blanket Implementations

impl<T> From for T
[src]

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

impl<T> UnsafeAny for T where
    T: Any

impl<T> Erased for T

impl<T> Same for T

Should always be Self