Skip to content

Commit 1bf590f

Browse files
apollo_propeller: fix PropellerScheduleManager doc comments to say 'units'
1 parent 364afb8 commit 1bf590f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

crates/apollo_propeller/src/tree.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ use crate::UnitValidationError;
1616
/// - num_data_shards = floor((N-1)/3) where N is total number of nodes
1717
/// - num_data_shards represents both max faulty nodes AND number of data shards
1818
/// - Total shards = N-1 (num_data_shards data shards + (N-1-num_data_shards) coding shards)
19-
/// - Message is "built" when num_data_shards shards received (can reconstruct)
20-
/// - Message is "received" when 2*num_data_shards shards received (guarantees gossip property)
21-
/// - Each peer broadcasts received shards to all other peers (full mesh)
19+
/// - Message is "built" when num_data_shards units received (can reconstruct)
20+
/// - Message is "received" when 2*num_data_shards units received (guarantees gossip property)
21+
/// - Each peer broadcasts received units to all other peers (full mesh)
2222
#[derive(Debug, Clone)]
2323
pub struct PropellerScheduleManager {
2424
/// All nodes in the committee with their stake, sorted by peer_id

0 commit comments

Comments
 (0)