mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 18:21:45 +00:00
Closes: - https://github.com/sigp/lighthouse/issues/7760 - [x] Remove `balances_cache` from `PersistedForkChoiceStore` (~65 MB saving on mainnet) - [x] Remove `justified_balances` from `PersistedForkChoiceStore` (~16 MB saving on mainnet) - [x] Remove `balances` from `ProtoArray`/`SszContainer`. - [x] Implement zstd compression for votes - [x] Fix bug in justified state usage - [x] Bump schema version to V28 and implement migration.
106 lines
3.6 KiB
Rust
106 lines
3.6 KiB
Rust
pub mod attestation_rewards;
|
|
pub mod attestation_simulator;
|
|
pub mod attestation_verification;
|
|
mod attester_cache;
|
|
pub mod beacon_block_reward;
|
|
mod beacon_block_streamer;
|
|
mod beacon_chain;
|
|
mod beacon_fork_choice_store;
|
|
pub mod beacon_proposer_cache;
|
|
mod beacon_snapshot;
|
|
pub mod bellatrix_readiness;
|
|
pub mod blob_verification;
|
|
pub mod block_reward;
|
|
mod block_times_cache;
|
|
mod block_verification;
|
|
pub mod block_verification_types;
|
|
pub mod builder;
|
|
pub mod canonical_head;
|
|
pub mod capella_readiness;
|
|
pub mod chain_config;
|
|
pub mod data_availability_checker;
|
|
pub mod data_column_verification;
|
|
pub mod deneb_readiness;
|
|
mod early_attester_cache;
|
|
pub mod electra_readiness;
|
|
mod errors;
|
|
pub mod events;
|
|
pub mod execution_payload;
|
|
pub mod fetch_blobs;
|
|
pub mod fork_choice_signal;
|
|
pub mod fork_revert;
|
|
pub mod fulu_readiness;
|
|
pub mod graffiti_calculator;
|
|
pub mod historical_blocks;
|
|
pub mod kzg_utils;
|
|
pub mod light_client_finality_update_verification;
|
|
pub mod light_client_optimistic_update_verification;
|
|
mod light_client_server_cache;
|
|
pub mod metrics;
|
|
pub mod migrate;
|
|
mod naive_aggregation_pool;
|
|
pub mod observed_aggregates;
|
|
mod observed_attesters;
|
|
pub mod observed_block_producers;
|
|
pub mod observed_data_sidecars;
|
|
pub mod observed_operations;
|
|
mod observed_slashable;
|
|
pub mod persisted_beacon_chain;
|
|
pub mod persisted_custody;
|
|
mod persisted_fork_choice;
|
|
mod pre_finalization_cache;
|
|
pub mod proposer_prep_service;
|
|
pub mod schema_change;
|
|
pub mod shuffling_cache;
|
|
pub mod single_attestation;
|
|
pub mod state_advance_timer;
|
|
pub mod summaries_dag;
|
|
pub mod sync_committee_rewards;
|
|
pub mod sync_committee_verification;
|
|
pub mod test_utils;
|
|
pub mod validator_custody;
|
|
pub mod validator_monitor;
|
|
pub mod validator_pubkey_cache;
|
|
|
|
pub use self::beacon_chain::{
|
|
AttestationProcessingOutcome, AvailabilityProcessingStatus, BeaconBlockResponse,
|
|
BeaconBlockResponseWrapper, BeaconChain, BeaconChainTypes, BeaconStore, BlockProcessStatus,
|
|
ChainSegmentResult, ForkChoiceError, INVALID_FINALIZED_MERGE_TRANSITION_BLOCK_SHUTDOWN_REASON,
|
|
INVALID_JUSTIFIED_PAYLOAD_SHUTDOWN_REASON, LightClientProducerEvent, OverrideForkchoiceUpdate,
|
|
ProduceBlockVerification, StateSkipConfig, WhenSlotSkipped,
|
|
};
|
|
pub use self::beacon_snapshot::BeaconSnapshot;
|
|
pub use self::chain_config::ChainConfig;
|
|
pub use self::errors::{BeaconChainError, BlockProductionError};
|
|
pub use self::historical_blocks::HistoricalBlockError;
|
|
pub use attestation_verification::Error as AttestationError;
|
|
pub use beacon_fork_choice_store::{
|
|
BeaconForkChoiceStore, Error as ForkChoiceStoreError, PersistedForkChoiceStoreV17,
|
|
PersistedForkChoiceStoreV28,
|
|
};
|
|
pub use block_verification::{
|
|
BlockError, ExecutionPayloadError, ExecutionPendingBlock, GossipVerifiedBlock,
|
|
IntoExecutionPendingBlock, IntoGossipVerifiedBlock, InvalidSignature,
|
|
PayloadVerificationOutcome, PayloadVerificationStatus, build_blob_data_column_sidecars,
|
|
get_block_root,
|
|
};
|
|
pub use block_verification_types::AvailabilityPendingExecutedBlock;
|
|
pub use block_verification_types::ExecutedBlock;
|
|
pub use canonical_head::{CachedHead, CanonicalHead, CanonicalHeadRwLock};
|
|
pub use events::ServerSentEventHandler;
|
|
pub use execution_layer::EngineState;
|
|
pub use execution_payload::NotifyExecutionLayer;
|
|
pub use fork_choice::{ExecutionStatus, ForkchoiceUpdateParameters};
|
|
pub use kzg::{Kzg, TrustedSetup};
|
|
pub use metrics::scrape_for_metrics;
|
|
pub use migrate::MigratorConfig;
|
|
pub use parking_lot;
|
|
pub use slot_clock;
|
|
pub use state_processing::per_block_processing::errors::{
|
|
AttestationValidationError, AttesterSlashingValidationError, DepositValidationError,
|
|
ExitValidationError, ProposerSlashingValidationError,
|
|
};
|
|
pub use store;
|
|
pub use types;
|
|
pub use validator_custody::CustodyContext;
|