Skip to content

Commit

Permalink
network: add note on sending headers related to storage
Browse files Browse the repository at this point in the history
  • Loading branch information
gterzian committed Mar 28, 2022
1 parent 7b52e0e commit f5c7f7a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions massa-network-exports/src/network_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ impl NetworkCommandSender {
}

/// Send the order to send block header.
///
/// Note: with the current use of shared storage,
/// sending a header requires having the block stored.
/// This matches the current use of send_block_header,
/// which is only used after a block has been integrated in the graph.
pub async fn send_block_header(
&self,
node: NodeId,
Expand Down

0 comments on commit f5c7f7a

Please sign in to comment.