mirror of https://github.com/poanetwork/hbbft.git
Rename crypto::keygen to crypto::poly.
This commit is contained in:
parent
1436d85455
commit
c84c60d826
|
@ -43,7 +43,7 @@ use std::rc::Rc;
|
|||
use std::{io, iter, process, thread, time};
|
||||
|
||||
use hbbft::broadcast::{Broadcast, BroadcastMessage};
|
||||
use hbbft::crypto::keygen::Poly;
|
||||
use hbbft::crypto::poly::Poly;
|
||||
use hbbft::crypto::SecretKeySet;
|
||||
use hbbft::messaging::{DistAlgorithm, NetworkInfo, SourcedMessage};
|
||||
use hbbft::proto::message::BroadcastProto;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
pub mod error;
|
||||
pub mod keygen;
|
||||
pub mod poly;
|
||||
#[cfg(feature = "serialization-protobuf")]
|
||||
pub mod protobuf_impl;
|
||||
#[cfg(feature = "serialization-serde")]
|
||||
mod serde_impl;
|
||||
|
||||
use self::keygen::{Commitment, Poly};
|
||||
use self::poly::{Commitment, Poly};
|
||||
|
||||
use std::fmt;
|
||||
|
||||
|
|
Loading…
Reference in New Issue