Enum ethcore::security_level::SecurityLevel [] [src]

pub enum SecurityLevel {
    FullState,
    FullProofOfWork,
    PartialProofOfWork(BlockNumber),
}

Indication of how secure the chain is.

Variants

All blocks from genesis to chain head are known to have valid state transitions and PoW.

All blocks from genesis to chain head are known to have a valid PoW.

Some recent headers (the argument) are known to have a valid PoW.

Methods

impl SecurityLevel
[src]

true for FullPoW/FullState.

Trait Implementations

impl Debug for SecurityLevel
[src]

Formats the value using the given formatter.

impl PartialEq for SecurityLevel
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Copy for SecurityLevel
[src]

impl Clone for SecurityLevel
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for SecurityLevel
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Eq for SecurityLevel
[src]