Enum bitcoin::util::merkleblock::MerkleBlockError [−][src]
pub enum MerkleBlockError { MerkleRootMismatch, NoTransactions, TooManyTransactions, BadFormat(String), }
Expand description
An error when verifying the merkle block
Variants
When header merkle root don’t match to the root calculated from the partial merkle tree
When partial merkle tree contains no transactions
When there are too many transactions
BadFormat(String)
General format error
Trait Implementations
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 RefUnwindSafe for MerkleBlockError
impl Send for MerkleBlockError
impl Sync for MerkleBlockError
impl Unpin for MerkleBlockError
impl UnwindSafe for MerkleBlockError
Blanket Implementations
Mutably borrows from an owned value. Read more