We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5332d40 commit 9d3955bCopy full SHA for 9d3955b
core/src/consensus/mod.rs
@@ -266,6 +266,9 @@ pub trait ConsensusEngine: Sync + Send {
266
header.hash()
267
}
268
269
+ /// In PoW consensus, the higher scored block became the best block.
270
+ /// In Tendermint consensus, the highest scored block may not be the best block.
271
+ /// Only the child of the current best block could be the next best block in Tendermint consensus.
272
fn can_change_canon_chain(&self, _header: &HeaderView) -> bool {
273
true
274
0 commit comments