Struct grin_core::core::block_sums::BlockSums
source · pub struct BlockSums {
pub utxo_sum: Commitment,
pub kernel_sum: Commitment,
}
Expand description
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§
Auto Trait Implementations§
impl Freeze for BlockSums
impl RefUnwindSafe for BlockSums
impl Send for BlockSums
impl Sync for BlockSums
impl Unpin for BlockSums
impl UnwindSafe for BlockSums
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