mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-20 06:18:31 +00:00
Separate validator fns into new proto service
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user