alto_chain/application/
mod.rs

1use alto_types::Evaluation;
2use commonware_cryptography::{
3    bls12381::primitives::{group, poly::Poly},
4    ed25519::PublicKey,
5};
6
7mod actor;
8pub use actor::Actor;
9mod ingress;
10pub use ingress::Mailbox;
11
12/// Configuration for the application.
13pub struct Config {
14    /// Participants active in consensus.
15    pub participants: Vec<PublicKey>,
16
17    /// The unevaluated group polynomial associated with the current dealing.
18    pub polynomial: Poly<Evaluation>,
19
20    /// The share of the secret.
21    pub share: group::Share,
22
23    /// Number of messages from consensus to hold in our backlog
24    /// before blocking.
25    pub mailbox_size: usize,
26}