1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
// -*- mode: rust; -*- // // This file is part of dalek-frost. // Copyright (c) 2020 isis lovecruft // See LICENSE for licensing information. // // Authors: // - isis agora lovecruft <isis@patternsinthevoid.net> //! Configurable parameters for an instance of a FROST signing protocol. /// The configuration parameters for conducting the process of creating a /// threshold signature. #[derive(Copy, Clone, Debug, Eq, Hash, PartialEq)] pub struct Parameters { /// The number of participants in the scheme. pub n: u32, /// The threshold required for a successful signature. pub t: u32, }