Add validator duties post endpoint

This commit is contained in:
Paul Hauner
2019-11-22 15:20:58 +11:00
parent 07d054576a
commit af20a345bc
5 changed files with 170 additions and 56 deletions

View File

@@ -40,7 +40,7 @@ use url_query::UrlQuery;
pub use crate::helpers::parse_pubkey;
pub use beacon::{BlockResponse, HeadResponse, StateResponse};
pub use config::Config;
pub use validator::ValidatorDuty;
pub use validator::{BulkValidatorDutiesRequest, ValidatorDuty};
pub type BoxFut = Box<dyn Future<Item = Response<Body>, Error = ApiError> + Send>;
pub type NetworkChannel = Arc<RwLock<mpsc::UnboundedSender<NetworkMessage>>>;