mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 11:41:51 +00:00
Impl more validator logic
This commit is contained in:
@@ -23,7 +23,7 @@ fn main() {
|
||||
// gRPC
|
||||
let env = Arc::new(EnvBuilder::new().build());
|
||||
let ch = ChannelBuilder::new(env).connect("localhost:50051");
|
||||
let client = BeaconBlockServiceClient::new(ch);
|
||||
let client = Arc::new(BeaconBlockServiceClient::new(ch));
|
||||
|
||||
// Logging
|
||||
let decorator = slog_term::TermDecorator::new().build();
|
||||
@@ -83,6 +83,7 @@ fn main() {
|
||||
tokio::run(task);
|
||||
}
|
||||
|
||||
#[derive(Debug, PartialEq, Clone, Copy, Default)]
|
||||
pub struct EpochDuties {
|
||||
block_production_slot: Option<u64>,
|
||||
shard: Option<u64>,
|
||||
|
||||
Reference in New Issue
Block a user