Skip to content

Commit

Permalink
Add comment block for ErasureMeta ledger column (#28356)
Browse files Browse the repository at this point in the history
Add comment block for ErasureMeta ledger column.
  • Loading branch information
yhchiang-sol authored Oct 14, 2022
1 parent 4539cb7 commit 6a96a4c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions ledger/src/blockstore_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,16 @@ pub mod columns {
pub struct DuplicateSlots;

#[derive(Debug)]
/// The erasure meta column
/// The erasure meta column.
///
/// index type: (u64, u64)
/// This column family stores ErasureMeta which includes metadata about
/// dropped network packets (or erasures) that can be used to recover
/// missing data shreds.
///
/// Its index type is ErasureSetId, which consists of a Slot ID
/// and a FEC (Forward Error Correction) set index.
///
/// index type: `ErasureSetId` (Slot, fec_set_index: u64)
/// value type: `blockstore_meta::ErasureMeta`
pub struct ErasureMeta;

Expand Down

0 comments on commit 6a96a4c

Please sign in to comment.