pub struct ProcessedZeldBlock {
pub rewards: Vec<Reward>,
pub total_reward: Amount,
pub max_zero_count: u8,
pub nicest_txid: Option<Txid>,
pub utxo_spent_count: u64,
pub new_utxo_count: u64,
}Expand description
Fully processed block statistics and reward set.
Fields§
§rewards: Vec<Reward>All rewards generated within the block.
total_reward: AmountSum of all rewards in the block.
max_zero_count: u8Highest leading zero count observed in the block.
nicest_txid: Option<Txid>TXID of the transaction with the highest zero count.
utxo_spent_count: u64Number of previously existing UTXOs spent in the block.
new_utxo_count: u64Number of new UTXOs created in the block.
Trait Implementations§
Source§impl Clone for ProcessedZeldBlock
impl Clone for ProcessedZeldBlock
Source§fn clone(&self) -> ProcessedZeldBlock
fn clone(&self) -> ProcessedZeldBlock
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProcessedZeldBlock
impl RefUnwindSafe for ProcessedZeldBlock
impl Send for ProcessedZeldBlock
impl Sync for ProcessedZeldBlock
impl Unpin for ProcessedZeldBlock
impl UnwindSafe for ProcessedZeldBlock
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