Skip to content

Commit

Permalink
document get_full_block_range block ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected committed Jul 3, 2023
1 parent 44f4f5d commit 3cdb080
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/interfaces/src/p2p/full_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ where
/// Caution: This does no validation of body (transactions) responses but guarantees that
/// the starting [SealedHeader] matches the requested hash, and that the number of headers and
/// bodies received matches the requested limit.
///
/// The returned future yields bodies in falling order, i.e. with descending block numbers.
pub fn get_full_block_range(
&self,
hash: H256,
Expand Down

0 comments on commit 3cdb080

Please sign in to comment.