Initial layout of beacon block production

This commit is contained in:
Age Manning
2019-03-29 14:52:08 +11:00
parent aa29a66fac
commit f8201edddd
5 changed files with 323 additions and 136 deletions

View File

@@ -78,7 +78,7 @@ impl Service {
// Beacon node gRPC beacon node endpoints.
let beacon_node_client = {
let ch = ChannelBuilder::new(env.clone()).connect(&config.server);
Arc::new(BeaconNodeServiceClient::new(ch))
BeaconNodeServiceClient::new(ch)
};
// retrieve node information and validate the beacon node
@@ -287,7 +287,6 @@ impl Service {
}
/*
// Spawn a new thread to perform block production for the validator.
let producer_thread = {
let spec = spec.clone();