Add comment block for ErasureMeta ledger column (#28356)

Add comment block for ErasureMeta ledger column.
This commit is contained in:
Yueh-Hsuan Chiang 2022-10-14 12:59:34 -07:00 committed by GitHub
parent 4539cb75fb
commit 6a96a4c2ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 2 deletions

View File

@ -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;