[−][src]Enum verification::TransactionError
Possible transactions verification errors
Variants
Empty
Transaction has no inputs or no outputs
NullNonCoinbase
Transaction is not coinbase transaction but has null inputs
CoinbaseSignatureLength(usize)
Coinbase signature is not in the range 2-100
MaxSize
Transaction size exceeds block size limit
MinSize
Transaction size is below min size limit
MaxSigops
Transaction has more sigops than it's allowed
MemoryPoolCoinbase
Transaction is a part of memory pool, but is a coinbase
Input(usize)
Not found corresponding output for transaction input
Maturity
Referenced coinbase output for the transaction input is not mature enough
Signature(usize, SignatureError)
Signature invalid for given input
UnknownReference(H256)
Unknown previous transaction referenced
Overspend
Spends more than claims
SignatureMallformed(String)
Signature script can't be properly parsed
Sigops(usize)
Too many signature operations
SigopsP2SH(usize)
Too many signature operations once p2sh operations included
MisplacedCoinbase
Coinbase transaction is found at position that is not 0
UnspentTransactionWithTheSameHash
Not fully spent transaction with the same hash already exists, bip30.
UsingSpentOutput(H256, u32)
Using output that is surely spent
ReturnReplayProtection
Transaction, protected using BitcoinCash OP_RETURN replay protection (REQ-6-1).
PrematureWitness
Transaction with witness is received before SegWit is activated.
Trait Implementations
impl Debug for TransactionError
[src]
[+]
impl Debug for TransactionError
impl PartialEq for TransactionError
[src]
[+]
impl PartialEq for TransactionError
Auto Trait Implementations
impl Send for TransactionError
impl Send for TransactionError
impl Sync for TransactionError
impl Sync for TransactionError
Blanket Implementations
impl<T> From for T
[src]
[−]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
[−]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
[−]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
[−]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
[−]
impl<T> Borrow for T where
T: ?Sized,
ⓘImportant traits for &'a mut Rfn borrow(&self) -> &T
[src]
[−]
fn borrow(&self) -> &T
Immutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
[−]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
[−]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T> BorrowMut for T where
T: ?Sized,
[src]
[−]
impl<T> BorrowMut for T where
T: ?Sized,
ⓘImportant traits for &'a mut Rfn borrow_mut(&mut self) -> &mut T
[src]
[−]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
[−]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
[−]
fn get_type_id(&self) -> TypeId
🔬 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
impl<T> Erased for T