pub struct BundleProof {
pub map: SmallOrdMap<u32, Message>,
}Expand description
The proof that each message is associated with a separate subset of witness transaction inputs, and all of these subsets are disjoint.
Fields§
§map: SmallOrdMap<u32, Message>Map from a transaction input number to a specific message which is associated with it.
Implementations§
Trait Implementations§
Source§impl Clone for BundleProof
impl Clone for BundleProof
Source§fn clone(&self) -> BundleProof
fn clone(&self) -> BundleProof
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CommitEncode for BundleProof
impl CommitEncode for BundleProof
Source§type CommitmentId = Commitment
type CommitmentId = Commitment
Type of the resulting commitment.
Source§fn commit_encode(&self, engine: &mut CommitEngine)
fn commit_encode(&self, engine: &mut CommitEngine)
Encodes the data for the commitment by writing them directly into a
std::io::Write writer instanceSource§impl Debug for BundleProof
impl Debug for BundleProof
Source§impl<'de> Deserialize<'de> for BundleProof
impl<'de> Deserialize<'de> for BundleProof
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<BundleProof> for MessageSource
impl From<BundleProof> for MessageSource
Source§fn from(v: BundleProof) -> Self
fn from(v: BundleProof) -> Self
Converts to this type from the input type.
Source§impl Hash for BundleProof
impl Hash for BundleProof
Source§impl Ord for BundleProof
impl Ord for BundleProof
Source§fn cmp(&self, other: &BundleProof) -> Ordering
fn cmp(&self, other: &BundleProof) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BundleProof
impl PartialEq for BundleProof
Source§impl PartialOrd for BundleProof
impl PartialOrd for BundleProof
Source§impl Serialize for BundleProof
impl Serialize for BundleProof
Source§impl StrictDecode for BundleProof
impl StrictDecode for BundleProof
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictDumb for BundleProof
impl StrictDumb for BundleProof
fn strict_dumb() -> Self
Source§impl StrictEncode for BundleProof
impl StrictEncode for BundleProof
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
fn strict_write(&self, writer: impl WriteRaw) -> Result<(), Error>
Source§impl StrictStruct for BundleProof
impl StrictStruct for BundleProof
const ALL_FIELDS: &'static [&'static str]
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for BundleProof
impl StrictType for BundleProof
const STRICT_LIB_NAME: &'static str = dbc::LIB_NAME_BPCORE
fn strict_name() -> Option<TypeName>
impl Eq for BundleProof
impl StrictProduct for BundleProof
impl StructuralPartialEq for BundleProof
Auto Trait Implementations§
impl Freeze for BundleProof
impl RefUnwindSafe for BundleProof
impl Send for BundleProof
impl Sync for BundleProof
impl Unpin for BundleProof
impl UnwindSafe for BundleProof
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CommitId for Twhere
T: CommitEncode,
impl<T> CommitId for Twhere
T: CommitEncode,
fn commit(&self) -> CommitEngine
Source§fn commit_id(&self) -> <T as CommitEncode>::CommitmentId
fn commit_id(&self) -> <T as CommitEncode>::CommitmentId
Performs commitment to client-side-validated data
Source§impl<T> CommitmentLayout for Twhere
T: CommitEncode + StrictDumb,
impl<T> CommitmentLayout for Twhere
T: CommitEncode + StrictDumb,
Source§fn commitment_layout() -> CommitLayout
fn commitment_layout() -> CommitLayout
Generate a descriptive commitment layout, which includes a description
of each encoded field and the used hashing strategies.
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.