add spec
This commit is contained in:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user