2021-07-29 22:00:29 -07:00
|
|
|
pub mod commitment;
|
|
|
|
|
pub mod proof;
|
2021-05-05 18:23:59 +02:00
|
|
|
pub mod prover;
|
2021-07-29 22:00:29 -07:00
|
|
|
pub mod recursive_verifier;
|
2021-05-05 18:23:59 +02:00
|
|
|
pub mod verifier;
|
|
|
|
|
|
2021-05-06 17:09:55 +02:00
|
|
|
#[derive(Debug, Clone, Eq, PartialEq)]
|
2021-05-05 18:23:59 +02:00
|
|
|
pub struct FriConfig {
|
|
|
|
|
pub proof_of_work_bits: u32,
|
|
|
|
|
|
|
|
|
|
/// The arity of each FRI reduction step, expressed (i.e. the log2 of the actual arity).
|
|
|
|
|
/// For example, `[3, 2, 1]` would describe a FRI reduction tree with 8-to-1 reduction, then
|
|
|
|
|
/// a 4-to-1 reduction, then a 2-to-1 reduction. After these reductions, the reduced polynomial
|
|
|
|
|
/// is sent directly.
|
|
|
|
|
pub reduction_arity_bits: Vec<usize>,
|
|
|
|
|
|
|
|
|
|
/// Number of query rounds to perform.
|
|
|
|
|
pub num_query_rounds: usize,
|
2021-06-01 19:13:22 -07:00
|
|
|
}
|