docs on authority spec
This commit is contained in:
parent
c482b8ffb6
commit
bb59c2288e
@ -268,6 +268,7 @@ impl Spec {
|
||||
}
|
||||
|
||||
/// Create a new Spec with AuthorityRound consensus which does internal sealing (not requiring work).
|
||||
/// Accounts with secrets "1".sha3() and "2".sha3() are the authorities.
|
||||
pub fn new_test_round() -> Self {
|
||||
Spec::load(include_bytes!("../../res/authority_round.json") as &[u8]).expect("authority_round.json is invalid")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user