pub struct Assessment {
pub unl_size: usize,
pub effective_size: usize,
pub quorum: usize,
pub by_hash: BTreeMap<[u8; 32], BTreeSet<Key>>,
pub confirmed: Option<[u8; 32]>,
pub not_seen: BTreeSet<Key>,
pub conflicting: BTreeSet<Key>,
pub unattributed: BTreeSet<Key>,
pub from_negative_unl: BTreeSet<Key>,
}Fields§
§unl_size: usize§effective_size: usize§quorum: usize§by_hash: BTreeMap<[u8; 32], BTreeSet<Key>>For each hash, the effective validators that signed it with a full validation.
confirmed: Option<[u8; 32]>The hash that reached quorum, if any.
not_seen: BTreeSet<Key>Effective validators whose validation we did not see.
conflicting: BTreeSet<Key>Effective validators that signed more than one hash.
unattributed: BTreeSet<Key>Signing keys without a manifest: we do not know whose they are.
from_negative_unl: BTreeSet<Key>Signatures from validators disabled by the Negative UNL: not counted toward quorum.
Trait Implementations§
Source§impl Clone for Assessment
impl Clone for Assessment
Source§fn clone(&self) -> Assessment
fn clone(&self) -> Assessment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Assessment
impl Debug for Assessment
impl Eq for Assessment
Source§impl PartialEq for Assessment
impl PartialEq for Assessment
impl StructuralPartialEq for Assessment
Auto Trait Implementations§
impl Freeze for Assessment
impl RefUnwindSafe for Assessment
impl Send for Assessment
impl Sync for Assessment
impl Unpin for Assessment
impl UnsafeUnpin for Assessment
impl UnwindSafe for Assessment
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