remove uncles

This commit is contained in:
keorn 2016-12-07 09:32:36 +01:00
parent 8f641e67f3
commit d9eb5e7f1d
2 changed files with 3 additions and 1 deletions

View File

@ -363,6 +363,9 @@ impl Engine for Tendermint {
fn params(&self) -> &CommonParams { &self.params }
fn builtins(&self) -> &BTreeMap<Address, Builtin> { &self.builtins }
fn maximum_uncle_count(&self) -> usize { 0 }
fn maximum_uncle_age(&self) -> usize { 0 }
/// Additional engine-specific information for the user/developer concerning `header`.
fn extra_info(&self, header: &Header) -> BTreeMap<String, String> {
let message = ConsensusMessage::new_proposal(header).expect("Invalid header.");

View File

@ -32,7 +32,6 @@ use engines::Engine;
use error::Error;
use ids::BlockID;
use service::ClientIoMessage;
use spec::Spec;
use io::IoChannel;