From 3cdb0804cbc721d777c6ec4dae7b531215cfb9e0 Mon Sep 17 00:00:00 2001 From: Dan Cline <6798349+Rjected@users.noreply.github.com> Date: Mon, 3 Jul 2023 14:21:40 -0400 Subject: [PATCH] document get_full_block_range block ordering --- crates/interfaces/src/p2p/full_block.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/interfaces/src/p2p/full_block.rs b/crates/interfaces/src/p2p/full_block.rs index f644fb1ef4e5..6ce858c767c2 100644 --- a/crates/interfaces/src/p2p/full_block.rs +++ b/crates/interfaces/src/p2p/full_block.rs @@ -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,