INNER CODE UNIT · Rust

usize

renegade-fi/renegade · crates/circuits/circuit-types/src/lib.rs:64

pub const PRICE_BITS: usize = DEFAULT_FP_PRECISION + 64;
/// The number of bits allowed in a fee rate representation, including the fixed
/// point precision
///
/// Fees are naturally less than one, so we use the default fixed point
/// precision
pub const FEE_BITS: usize = DEFAULT_FP_PRECISION;

/// An MPC fabric with curve generic attached
#[cfg(feature = "proof-system-types")]
pub type Fabric = MpcFabric<SystemCurveGroup>;
/// A circuit type with curve generic attached
#[cfg(feature = "proof-system-types")]
pub type PlonkCircuit = GenericPlonkCircuit<ScalarField>;
/// A circuit type with curve generic attached in a multiprover context
#[cfg(feature = "proof-system-types")]
pub type MpcPlonkCircuit = GenericMpcPlonkCircuit<SystemCurveGroup>;
/// A Plonk proof represented over the system curve

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…