We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa4b5fb commit 59d1da2Copy full SHA for 59d1da2
frost-core/src/lib.rs
@@ -636,8 +636,10 @@ where
636
637
Ok(signature)
638
}
639
+
640
/// Optional cheater detection feature
641
/// Each share is verified to find the cheater
642
+#[cfg(feature = "cheater-detection")]
643
fn detect_cheater<C: Ciphersuite>(
644
group_commitment: &GroupCommitment<C>,
645
pubkeys: &keys::PublicKeyPackage<C>,
frost-core/src/traits.rs
@@ -4,9 +4,8 @@ use core::{
4
fmt::Debug,
5
ops::{Add, Mul, Sub},
6
};
7
-use std::borrow::Cow;
8
9
-use alloc::{collections::BTreeMap, vec::Vec};
+use alloc::{borrow::Cow, collections::BTreeMap, vec::Vec};
10
use rand_core::{CryptoRng, RngCore};
11
12
use crate::{
0 commit comments