[][src]Enum verification::TransactionError

pub enum TransactionError {
    Empty,
    NullNonCoinbase,
    CoinbaseSignatureLength(usize),
    MaxSize,
    MinSize,
    MaxSigops,
    MemoryPoolCoinbase,
    Input(usize),
    Maturity,
    Signature(usizeSignatureError),
    UnknownReference(H256),
    Overspend,
    SignatureMallformed(String),
    Sigops(usize),
    SigopsP2SH(usize),
    MisplacedCoinbase,
    UnspentTransactionWithTheSameHash,
    UsingSpentOutput(H256u32),
    ReturnReplayProtection,
    PrematureWitness,
}

Possible transactions verification errors

Variants

Transaction has no inputs or no outputs

Transaction is not coinbase transaction but has null inputs

Coinbase signature is not in the range 2-100

Transaction size exceeds block size limit

Transaction size is below min size limit

Transaction has more sigops than it's allowed

Transaction is a part of memory pool, but is a coinbase

Not found corresponding output for transaction input

Referenced coinbase output for the transaction input is not mature enough

Signature invalid for given input

Unknown previous transaction referenced

Spends more than claims

Signature script can't be properly parsed

Too many signature operations

Too many signature operations once p2sh operations included

Coinbase transaction is found at position that is not 0

Not fully spent transaction with the same hash already exists, bip30.

Using output that is surely spent

Transaction, protected using BitcoinCash OP_RETURN replay protection (REQ-6-1).

Transaction with witness is received before SegWit is activated.

Trait Implementations

impl Debug for TransactionError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for TransactionError
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for TransactionError

impl Sync for TransactionError

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

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

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Important traits for &'a mut R

Immutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Important traits for &'a mut R

Mutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> Erased for T