Struct fuel_core_interfaces::model::FuelBlockConsensus
source · [−]pub struct FuelBlockConsensus {
pub required_stake: u64,
pub validators: HashMap<Address, (ValidatorStake, Address)>,
}Expand description
This structure is ceated as placeholder for future usage. It represent commitment for next child block
Fields
required_stake: u64required stake for next block
validators: HashMap<Address, (ValidatorStake, Address)>Map of Validator consensus key and pair of stake and signature
Trait Implementations
sourceimpl Clone for FuelBlockConsensus
impl Clone for FuelBlockConsensus
sourcefn clone(&self) -> FuelBlockConsensus
fn clone(&self) -> FuelBlockConsensus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for FuelBlockConsensus
impl Debug for FuelBlockConsensus
sourceimpl Default for FuelBlockConsensus
impl Default for FuelBlockConsensus
sourcefn default() -> FuelBlockConsensus
fn default() -> FuelBlockConsensus
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for FuelBlockConsensus
impl Send for FuelBlockConsensus
impl Sync for FuelBlockConsensus
impl Unpin for FuelBlockConsensus
impl UnwindSafe for FuelBlockConsensus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more