[][src]Struct grin_core::core::block_sums::BlockSums

pub struct BlockSums {
    pub utxo_sum: Commitment,
    pub kernel_sum: Commitment,
}

The output_sum and kernel_sum for a given block. This is used to validate the next block being processed by applying the inputs, outputs, kernels and kernel_offset from the new block and checking everything sums correctly.

Fields

utxo_sum: Commitment

The sum of the unspent outputs.

kernel_sum: Commitment

The sum of all kernels.

Trait Implementations

impl Clone for BlockSums[src]

impl Debug for BlockSums[src]

impl Default for BlockSums[src]

impl Readable for BlockSums[src]

impl Writeable for BlockSums[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> CloneAny for T where
    T: Clone + Any

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

impl<T> Erased for T

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.

impl<T> UnsafeAny for T where
    T: Any