mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 03:31: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.
21 lines
716 B
Rust
21 lines
716 B
Rust
mod error;
|
|
pub mod fork_choice_test_definition;
|
|
mod justified_balances;
|
|
mod proto_array;
|
|
mod proto_array_fork_choice;
|
|
mod ssz_container;
|
|
|
|
pub use crate::justified_balances::JustifiedBalances;
|
|
pub use crate::proto_array::{InvalidationOperation, calculate_committee_fraction};
|
|
pub use crate::proto_array_fork_choice::{
|
|
Block, DisallowedReOrgOffsets, DoNotReOrg, ExecutionStatus, ProposerHeadError,
|
|
ProposerHeadInfo, ProtoArrayForkChoice, ReOrgThreshold,
|
|
};
|
|
pub use error::Error;
|
|
|
|
pub mod core {
|
|
pub use super::proto_array::{ProposerBoost, ProtoArray, ProtoNode};
|
|
pub use super::proto_array_fork_choice::VoteTracker;
|
|
pub use super::ssz_container::{SszContainer, SszContainerV17, SszContainerV28};
|
|
}
|