missing trusted-dealer stuff

This commit is contained in:
Conrado Gouvea 2024-06-21 17:54:57 -03:00 committed by natalie
parent ab6924ac5f
commit ee7f341910
3 changed files with 5 additions and 8 deletions

View File

@ -1,9 +1,8 @@
#![cfg(not(feature = "redpallas"))]
use std::io::BufWriter; use std::io::BufWriter;
use frost::Error;
use frost_ed25519 as frost; use frost_ed25519 as frost;
use frost::Error;
use trusted_dealer::inputs::{request_inputs, Config}; use trusted_dealer::inputs::{request_inputs, Config};
#[test] #[test]

View File

@ -1,8 +1,7 @@
#![cfg(not(feature = "redpallas"))] use frost_ed25519 as frost;
use frost::keys::{IdentifierList, PublicKeyPackage, SecretShare}; use frost::keys::{IdentifierList, PublicKeyPackage, SecretShare};
use frost::Identifier; use frost::Identifier;
use frost_ed25519 as frost;
use itertools::Itertools; use itertools::Itertools;
use rand::thread_rng; use rand::thread_rng;
use std::collections::BTreeMap; use std::collections::BTreeMap;

View File

@ -1,10 +1,9 @@
#![cfg(not(feature = "redpallas"))]
mod helpers; mod helpers;
use frost_ed25519 as frost;
use frost::aggregate; use frost::aggregate;
use frost::keys::IdentifierList; use frost::keys::IdentifierList;
use frost_ed25519 as frost;
use helpers::signature_gen::{key_package, round_1, round_2}; use helpers::signature_gen::{key_package, round_1, round_2};
use rand::thread_rng; use rand::thread_rng;
use trusted_dealer::inputs::Config; use trusted_dealer::inputs::Config;