Strict validation transitions (#4988)

* ability to make validation stricter

* fix consensus

* remove logger
This commit is contained in:
keorn
2017-03-28 04:46:52 -04:00
committed by Gav Wood
parent 7039eaf995
commit a61b1567d0
10 changed files with 28 additions and 14 deletions

View File

@@ -393,7 +393,7 @@ impl Client {
})?;
// Final Verification
if let Err(e) = self.verifier.verify_block_final(header, locked_block.block().header(), self.engine().params().validate_receipts) {
if let Err(e) = self.verifier.verify_block_final(header, locked_block.block().header(), self.engine().params().validate_receipts_transition) {
warn!(target: "client", "Stage 4 block verification failed for #{} ({})\nError: {:?}", header.number(), header.hash(), e);
return Err(());
}