MachineProvingKey

Trait MachineProvingKey 

Source
pub trait MachineProvingKey<SC: StarkGenericConfig>: Send + Sync {
    // Required methods
    fn preprocessed_commit(&self) -> Com<SC>;
    fn pc_start(&self) -> Val<SC>;
    fn initial_global_cumulative_sum(&self) -> SepticDigest<Val<SC>>;
    fn observe_into(&self, challenger: &mut Challenger<SC>);
}
Expand description

A proving key for any MachineAir that is agnostic to hardware.

Required Methods§

Source

fn preprocessed_commit(&self) -> Com<SC>

The main commitment.

Source

fn pc_start(&self) -> Val<SC>

The start pc.

Source

fn initial_global_cumulative_sum(&self) -> SepticDigest<Val<SC>>

The initial global cumulative sum.

Source

fn observe_into(&self, challenger: &mut Challenger<SC>)

Observe itself in the challenger.

Implementors§