pub trait ProverMessageBuilder: Builderwhere
    Self::Entity: Into<LightClientMessageUnion>,
{ type ProvedItems; type MissingItems; fn set_last_header(self, last_header: VerifiableHeader) -> Self; fn set_proof(self, proof: HeaderDigestVec) -> Self; fn set_proved_items(self, items: Self::ProvedItems) -> Self; fn set_missing_items(self, items: Self::MissingItems) -> Self; }
Expand description

A builder which builds the content of a message that used for proving.

Required Associated Types

The type of the proved items.

The type of the missing items.

Required Methods

Set the verifiable header which includes the chain root.

Set the proof for all items which require verifying.

Set the proved items.

Set the missing items.

Implementors