b73c497be2
## Issue Addressed NA ## Proposed Changes - Refactor the `bls` crate to support multiple BLS "backends" (e.g., milagro, blst, etc). - Removes some duplicate, unused code in `common/rest_types/src/validator.rs`. - Removes the old "upgrade legacy keypairs" functionality (these were unencrypted keys that haven't been supported for a few testnets, no one should be using them anymore). ## Additional Info Most of the files changed are just inconsequential changes to function names. ## TODO - [x] Optimization levels - [x] Infinity point: https://github.com/supranational/blst/issues/11 - [x] Ensure milagro *and* blst are tested via CI - [x] What to do with unsafe code? - [x] Test infinity point in signature sets
21 lines
695 B
Rust
21 lines
695 B
Rust
//! Provides:
|
|
//!
|
|
//! - `ValidatorDir`: manages a directory containing validator keypairs, deposit info and other
|
|
//! things.
|
|
//! - `Manager`: manages a directory that contains multiple `ValidatorDir`.
|
|
//!
|
|
//! This crate is intended to be used by the account manager to create validators and the validator
|
|
//! client to load those validators.
|
|
|
|
mod builder;
|
|
pub mod insecure_keys;
|
|
mod manager;
|
|
mod validator_dir;
|
|
|
|
pub use crate::validator_dir::{Error, Eth1DepositData, ValidatorDir, ETH1_DEPOSIT_TX_HASH_FILE};
|
|
pub use builder::{
|
|
Builder, Error as BuilderError, ETH1_DEPOSIT_DATA_FILE, VOTING_KEYSTORE_FILE,
|
|
WITHDRAWAL_KEYSTORE_FILE,
|
|
};
|
|
pub use manager::{Error as ManagerError, Manager};
|