pub struct CompoundCompletenessProof {
pub bank_hash_proof: BankHashProof,
/* private fields */
}Expand description
A proof that there are no blobs in a specific Solana block.
This proof consists of two parts:
- An accounts delta hash proof that proves that
the accounts_delta_hash does not include the [
blober] account. - A bank hash proof that proves that the root hash of the accounts_delta_hash is the same as the root in the bank hash.
The proof can then be verified by supplying the blockhash of the block in which the [blober]
was invoked.
Fields§
§bank_hash_proof: BankHashProofImplementations§
Source§impl CompoundCompletenessProof
impl CompoundCompletenessProof
Sourcepub fn new(
slot: Slot,
blober_exclusion_proof: ExclusionProof,
bank_hash_proof: BankHashProof,
) -> Self
pub fn new( slot: Slot, blober_exclusion_proof: ExclusionProof, bank_hash_proof: BankHashProof, ) -> Self
Creates a completeness proof.
Trait Implementations§
Source§impl Clone for CompoundCompletenessProof
impl Clone for CompoundCompletenessProof
Source§fn clone(&self) -> CompoundCompletenessProof
fn clone(&self) -> CompoundCompletenessProof
Returns a copy 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 Debug for CompoundCompletenessProof
impl Debug for CompoundCompletenessProof
Source§impl<'de> Deserialize<'de> for CompoundCompletenessProof
impl<'de> Deserialize<'de> for CompoundCompletenessProof
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
impl Eq for CompoundCompletenessProof
impl StructuralPartialEq for CompoundCompletenessProof
Auto Trait Implementations§
impl Freeze for CompoundCompletenessProof
impl RefUnwindSafe for CompoundCompletenessProof
impl Send for CompoundCompletenessProof
impl Sync for CompoundCompletenessProof
impl Unpin for CompoundCompletenessProof
impl UnwindSafe for CompoundCompletenessProof
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more