bls_bulletproofs 1.1.0

A pure-Rust implementation of Bulletproofs using Ristretto
Documentation
// Copyright (c) 2022, MaidSafe.
// All rights reserved.
//
// This SAFE Network Software is licensed under the MIT license.
// Please see the LICENSE file for more details.

/// A struct that contains metrics about a constraint system.
///
/// See [`ConstraintSystem::metrics`](::r1cs::ConstraintSystem::metrics).
#[derive(Debug, Clone)]
pub struct Metrics {
    /// Number of multiplicative constraints in the constraint system.
    pub multipliers: usize,
    /// Total number of linear constraints in the constraint system.
    pub constraints: usize,
    /// Number of linear constraints added in pre-randomization phase.
    pub phase_one_constraints: usize,
    /// Number of linear constraints added in the randomization phase.
    pub phase_two_constraints: usize,
}