wsts/lib.rs
1#![deny(missing_docs)]
2#![doc = include_str!("../README.md")]
3
4/// test bitcoin/taproot integration using libbitcoin_consensus
5#[cfg(test)]
6pub mod btc;
7/// Types which are common to both v1 and v2
8#[allow(clippy::op_ref)]
9pub mod common;
10/// Functions to perform various computations needed for v1 and v2
11pub mod compute;
12/// Errors which are returned from objects and functions
13pub mod errors;
14/// Network messages
15pub mod net;
16/// Schnorr utility types
17#[allow(clippy::op_ref)]
18pub mod schnorr;
19/// State machines
20#[allow(clippy::result_large_err)]
21pub mod state_machine;
22/// Functions for doing BIP-340 schnorr proofs and other taproot actions
23pub mod taproot;
24/// Traits which are used for v1 and v2
25pub mod traits;
26/// Utilities for hashing and encryption
27pub mod util;
28/// Version 1 of WSTS, which encapsulates a number of parties using vanilla FROST
29#[cfg(feature = "with_v1")]
30#[allow(clippy::op_ref)]
31pub mod v1;
32/// Version 1 of WSTS, which encapsulates a number of parties using vanilla FROST
33#[allow(clippy::op_ref)]
34pub mod v2;
35/// Shamir secret sharing, using in distributed key generation
36pub mod vss;
37
38pub use p256k1 as curve;