mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
chore: add comment to PendingComponents (#7979)
Adds doc comment Co-Authored-By: Kevaundray Wedderburn <kevtheappdev@gmail.com> Co-Authored-By: Jimmy Chen <jimmy@sigmaprime.io>
This commit is contained in:
@@ -26,6 +26,15 @@ use types::{
|
||||
///
|
||||
/// The blobs are all gossip and kzg verified.
|
||||
/// The block has completed all verifications except the availability check.
|
||||
///
|
||||
/// There are currently three distinct hardfork eras that one should take note of:
|
||||
/// - Pre-Deneb: No availability requirements (Block is immediately available)
|
||||
/// - Post-Deneb, Pre-PeerDAS: Blobs are needed, but columns are not for the availability check
|
||||
/// - Post-PeerDAS: Columns are needed, but blobs are not for the availability check
|
||||
///
|
||||
/// Note: from this, one can immediately see that `verified_blobs` and `verified_data_columns`
|
||||
/// are mutually exclusive. i.e. If we are verifying columns to determine a block's availability
|
||||
/// we are ignoring the `verified_blobs` field.
|
||||
pub struct PendingComponents<E: EthSpec> {
|
||||
pub block_root: Hash256,
|
||||
pub verified_blobs: RuntimeFixedVector<Option<KzgVerifiedBlob<E>>>,
|
||||
|
||||
Reference in New Issue
Block a user