This commit is contained in:
keorn
2016-08-21 15:28:40 +02:00
parent 74939a43d6
commit a20a0de48f
4 changed files with 66 additions and 1 deletions

View File

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