Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit a597eaf

Browse files
author
Andronik Ordian
committed
remove Tendermint extra_info due to seal inconsistencies
1 parent bc2f558 commit a597eaf

File tree

1 file changed

+0
-11
lines changed
  • ethcore/src/engines/tendermint

1 file changed

+0
-11
lines changed

ethcore/src/engines/tendermint/mod.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -449,17 +449,6 @@ impl Engine<EthereumMachine> for Tendermint {
449449

450450
fn maximum_uncle_age(&self) -> usize { 0 }
451451

452-
/// Additional engine-specific information for the user/developer concerning `header`.
453-
fn extra_info(&self, header: &Header) -> BTreeMap<String, String> {
454-
let message = ConsensusMessage::new_proposal(header).expect("Invalid header.");
455-
map![
456-
"signature".into() => message.signature.to_string(),
457-
"height".into() => message.vote_step.height.to_string(),
458-
"view".into() => message.vote_step.view.to_string(),
459-
"block_hash".into() => message.block_hash.as_ref().map(ToString::to_string).unwrap_or("".into())
460-
]
461-
}
462-
463452
fn populate_from_parent(&self, header: &mut Header, parent: &Header) {
464453
// Chain scoring: total weight is sqrt(U256::max_value())*height - view
465454
let new_difficulty = U256::from(U128::max_value())

0 commit comments

Comments
 (0)