add new engine to spec

This commit is contained in:
keorn
2016-09-08 12:28:59 +02:00
parent 3a68fab066
commit 747898d8e7
8 changed files with 107 additions and 10 deletions

View File

@@ -18,6 +18,7 @@
use spec::Ethash;
use spec::BasicAuthority;
use spec::AuthorityRound;
/// Engine deserialization.
#[derive(Debug, PartialEq, Deserialize)]
@@ -30,6 +31,8 @@ pub enum Engine {
Ethash(Ethash),
/// BasicAuthority engine.
BasicAuthority(BasicAuthority),
/// AuthorityRound engine.
AuthorityRound(AuthorityRound),
}
#[cfg(test)]