Switching ValidatorSet (#4961)

* add multi validator set

* nicer comment

* validate in constructor

* reporting
This commit is contained in:
keorn
2017-03-23 12:19:28 +00:00
committed by Gav Wood
parent 64cec5ff7d
commit 9fdd0e3a0a
8 changed files with 231 additions and 11 deletions

View File

@@ -58,7 +58,7 @@ pub struct BasicAuthority {
gas_limit_bound_divisor: U256,
builtins: BTreeMap<Address, Builtin>,
signer: EngineSigner,
validators: Box<ValidatorSet + Send + Sync>,
validators: Box<ValidatorSet>,
}
impl BasicAuthority {