Struct ckb_jsonrpc_types::MerkleProof[][src]

pub struct MerkleProof {
    pub indices: Vec<Uint32>,
    pub lemmas: Vec<H256>,
}

Proof of CKB Merkle Tree.

CKB Merkle Tree is a CBMT using CKB blake2b hash as the merge function.

Fields

indices: Vec<Uint32>

Leaves indices in the CBMT that are proved present in the block.

These are indices in the CBMT tree not the transaction indices in the block.

lemmas: Vec<H256>

Hashes of all siblings along the paths to root.

Trait Implementations

impl Clone for MerkleProof[src]

impl Debug for MerkleProof[src]

impl Default for MerkleProof[src]

impl<'de> Deserialize<'de> for MerkleProof[src]

impl Eq for MerkleProof[src]

impl Hash for MerkleProof[src]

impl PartialEq<MerkleProof> for MerkleProof[src]

impl Serialize for MerkleProof[src]

impl StructuralEq for MerkleProof[src]

impl StructuralPartialEq for MerkleProof[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,