Enum ethcore::snapshot::Error
[−]
[src]
pub enum Error { InvalidStartingBlock(BlockId), BlockNotFound(H256), IncompleteChain, WrongStateRoot(H256, H256), WrongBlockHash(u64, H256, H256), TooManyBlocks(u64, u64), OldBlockPrunedDB, MissingCode(Vec<H256>), UnrecognizedCodeState(u8), RestorationAborted, Trie(TrieError), Decoder(DecoderError), Io(Error), }
Snapshot-related errors.
Variants
InvalidStartingBlock(BlockId)
Invalid starting block for snapshot.
BlockNotFound(H256)
Block not found.
IncompleteChain
Incomplete chain.
WrongStateRoot(H256, H256)
Best block has wrong state root.
WrongBlockHash(u64, H256, H256)
Wrong block hash.
TooManyBlocks(u64, u64)
Too many blocks contained within the snapshot.
OldBlockPrunedDB
Old starting block in a pruned database.
MissingCode(Vec<H256>)
Missing code.
UnrecognizedCodeState(u8)
Unrecognized code encoding.
RestorationAborted
Restoration aborted.
Trie(TrieError)
Trie error.
Decoder(DecoderError)
Decoder error.
Io(Error)
Io error.
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl From<Error> for Error
[src]
impl From<TrieError> for Error
[src]
impl From<DecoderError> for Error
[src]
fn from(err: DecoderError) -> Self
Performs the conversion.