mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-31 05:07:12 +00:00
Refactor consensus/types (#7827)
Organize and categorize `consensus/types` into modules based on their relation to key consensus structures/concepts. This is a precursor to a sensible public interface. While this refactor is very opinionated, I am open to suggestions on module names, or type groupings if my current ones are inappropriate. Co-Authored-By: Mac L <mjladson@pm.me>
This commit is contained in:
@@ -7,11 +7,12 @@ use lighthouse_network::{
|
||||
BlobsByRangeRequestId, BlocksByRangeRequestId, DataColumnsByRangeRequestId,
|
||||
},
|
||||
};
|
||||
use ssz_types::RuntimeVariableList;
|
||||
use std::{collections::HashMap, sync::Arc};
|
||||
use tracing::{Span, debug};
|
||||
use types::{
|
||||
BlobSidecar, ChainSpec, ColumnIndex, DataColumnSidecar, DataColumnSidecarList, EthSpec,
|
||||
Hash256, RuntimeVariableList, SignedBeaconBlock,
|
||||
Hash256, SignedBeaconBlock,
|
||||
};
|
||||
|
||||
use crate::sync::network_context::MAX_COLUMN_RETRIES;
|
||||
|
||||
Reference in New Issue
Block a user