mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 04:09:23 +00:00
Update everything which uses dkg to the new APIs
This commit is contained in:
@@ -37,6 +37,7 @@ serde_json = { version = "1", default-features = false, features = ["std"] }
|
||||
ciphersuite = { path = "../crypto/ciphersuite", default-features = false, features = ["std", "ristretto"] }
|
||||
|
||||
transcript = { package = "flexible-transcript", path = "../crypto/transcript", default-features = false, features = ["std"] }
|
||||
dkg-pedpop = { path = "../crypto/dkg/pedpop", default-features = false }
|
||||
frost = { package = "modular-frost", path = "../crypto/frost", default-features = false, features = ["ristretto"] }
|
||||
frost-schnorrkel = { path = "../crypto/schnorrkel", default-features = false }
|
||||
|
||||
|
||||
@@ -7,11 +7,10 @@ use rand_chacha::ChaCha20Rng;
|
||||
|
||||
use transcript::{Transcript, RecommendedTranscript};
|
||||
use ciphersuite::group::GroupEncoding;
|
||||
use dkg_pedpop::*;
|
||||
use frost::{
|
||||
curve::{Ciphersuite, Ristretto},
|
||||
dkg::{
|
||||
DkgError, Participant, ThresholdParams, ThresholdCore, ThresholdKeys, encryption::*, pedpop::*,
|
||||
},
|
||||
dkg::{DkgError, Participant, ThresholdParams, ThresholdCore, ThresholdKeys},
|
||||
};
|
||||
|
||||
use log::info;
|
||||
|
||||
Reference in New Issue
Block a user