pub struct TicketsAttemptsNumber;Expand description
Maximum number of tickets which each validator may create.
Influences the anonymity of block producers. As all published tickets have a public
attempt number less than attempts_number if two tickets share an attempt number
then they must belong to two different validators, which reduces anonymity late as
we approach the epoch tail.
Trait Implementations§
Source§impl Clone for TicketsAttemptsNumber
impl Clone for TicketsAttemptsNumber
Source§fn clone(&self) -> TicketsAttemptsNumber
fn clone(&self) -> TicketsAttemptsNumber
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 moreSource§impl Debug for TicketsAttemptsNumber
impl Debug for TicketsAttemptsNumber
Source§impl Default for TicketsAttemptsNumber
impl Default for TicketsAttemptsNumber
Source§fn default() -> TicketsAttemptsNumber
fn default() -> TicketsAttemptsNumber
Returns the “default value” for a type. Read more
Source§impl PartialEq for TicketsAttemptsNumber
impl PartialEq for TicketsAttemptsNumber
impl Copy for TicketsAttemptsNumber
impl Eq for TicketsAttemptsNumber
impl StructuralPartialEq for TicketsAttemptsNumber
Auto Trait Implementations§
impl Freeze for TicketsAttemptsNumber
impl RefUnwindSafe for TicketsAttemptsNumber
impl Send for TicketsAttemptsNumber
impl Sync for TicketsAttemptsNumber
impl Unpin for TicketsAttemptsNumber
impl UnwindSafe for TicketsAttemptsNumber
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