Starts initialisation of beacon chain in the client

This commit is contained in:
Age Manning
2019-03-18 16:16:54 +11:00
parent 2e0c8e2e47
commit bbad4bfa19
10 changed files with 207 additions and 80 deletions

View File

@@ -257,10 +257,10 @@ impl ChainSpec {
.parse()
.expect("correct multiaddr")];
let mut standard_spec = ChainSpec::foundation();
standard_spec.boot_nodes = boot_nodes;
standard_spec
Self {
boot_nodes,
..ChainSpec::foundation()
}
}
/// Returns a `ChainSpec` compatible with the specification suitable for 8 validators.