Skip to content

Commit ed66d37

Browse files
HoOngEejoojis
authored andcommitted
Add a restriction comment to the verify_block_family function
1 parent 5b87411 commit ed66d37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/consensus/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ pub trait ConsensusEngine: Sync + Send {
201201
}
202202

203203
/// Phase 3 verification. Check block information against parent. Returns either a null `Ok` or a general error detailing the problem with import.
204+
/// The verification must be conducted only with the two headers' information because it does not guarantee whether the two corresponding bodies have been imported.
204205
fn verify_block_family(&self, _header: &Header, _parent: &Header) -> Result<(), Error> {
205206
Ok(())
206207
}

0 commit comments

Comments
 (0)