Enum snarkos_consensus::error::ConsensusError[][src]

pub enum ConsensusError {
Show variants AlreadySpent(Vec<u8>, u32), BlockError(BlockError), BlockTooLarge(usizeusize), CoinbaseTransactionAlreadyExists(), ConflictingNetworkId(u8u8), Crate(&'static strString), CRHError(CRHError), DifficultyMismatch(u64u64), DPCError(DPCError), FuturisticTimestamp(i64i64), InvalidBlock(Vec<u8>), InvalidCoinbaseTransaction, MerkleRoot(String), Message(String), MultipleCoinbaseTransactions(u32), NonceInvalid(u32u32), NonceLimitError, NoGenesisBlock, NoParent(StringString), PedersenMerkleRoot(String), PowInvalid(u64u64), PoswError(PoswError), StorageError(StorageError), TimestampInvalid(i64i64), TransactionError(TransactionError), TransactionOverspending, PreExistingBlock,
}

Possible block verification errors

Variants

AlreadySpent(Vec<u8>, u32)
BlockError(BlockError)
BlockTooLarge(usizeusize)
CoinbaseTransactionAlreadyExists()
ConflictingNetworkId(u8u8)
Crate(&'static strString)
CRHError(CRHError)
DifficultyMismatch(u64u64)
DPCError(DPCError)
FuturisticTimestamp(i64i64)
InvalidBlock(Vec<u8>)
InvalidCoinbaseTransaction
MerkleRoot(String)
Message(String)
MultipleCoinbaseTransactions(u32)
NonceInvalid(u32u32)
NonceLimitError
NoGenesisBlock
NoParent(StringString)
PedersenMerkleRoot(String)
PowInvalid(u64u64)
PoswError(PoswError)
StorageError(StorageError)
TimestampInvalid(i64i64)
TransactionError(TransactionError)
TransactionOverspending
PreExistingBlock

Trait Implementations

impl Debug for ConsensusError[src]

impl Display for ConsensusError[src]

impl Error for ConsensusError[src]

impl From<BlockError> for ConsensusError[src]

impl From<CRHError> for ConsensusError[src]

impl From<DPCError> for ConsensusError[src]

impl From<Error> for ConsensusError[src]

impl From<Error> for ConsensusError[src]

impl From<PoswError> for ConsensusError[src]

impl From<StorageError> for ConsensusError[src]

impl From<TransactionError> for ConsensusError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,