Implements RPC Server side of epoch duties

This commit is contained in:
Age Manning
2019-03-27 21:08:28 +11:00
parent cde049df1f
commit 1f437a3e7b
3 changed files with 108 additions and 32 deletions

View File

@@ -49,7 +49,10 @@ pub fn start_server(
create_beacon_block_service(instance)
};
let validator_service = {
let instance = ValidatorServiceInstance { log: log.clone() };
let instance = ValidatorServiceInstance {
chain: beacon_chain.clone(),
log: log.clone(),
};
create_validator_service(instance)
};