Separate validator fns into new proto service

This commit is contained in:
Paul Hauner
2019-01-21 19:38:28 +11:00
parent ad6ae21676
commit 158ffd7d1c
3 changed files with 21 additions and 9 deletions

View File

@@ -1,11 +1,11 @@
use super::traits::{BeaconNode, BeaconNodeError};
use super::EpochDuties;
use protos::services::ValidatorAssignmentRequest;
use protos::services_grpc::BeaconBlockServiceClient;
use protos::services_grpc::ValidatorServiceClient;
use ssz::ssz_encode;
use types::PublicKey;
impl BeaconNode for BeaconBlockServiceClient {
impl BeaconNode for ValidatorServiceClient {
fn request_shuffling(
&self,
epoch: u64,