mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-01 00:41:20 +00:00
Remove old queues from BeaconChain
This commit is contained in:
parent
8bf7a83f37
commit
1840248af8
@ -90,11 +90,6 @@ pub struct BeaconChain<T: ClientDB + Sized, U: SlotClock, F: ForkChoice> {
|
|||||||
pub slot_clock: U,
|
pub slot_clock: U,
|
||||||
pub attestation_aggregator: RwLock<AttestationAggregator>,
|
pub attestation_aggregator: RwLock<AttestationAggregator>,
|
||||||
pub op_pool: RwLock<OperationPool>,
|
pub op_pool: RwLock<OperationPool>,
|
||||||
pub deposits_for_inclusion: RwLock<Vec<Deposit>>,
|
|
||||||
pub exits_for_inclusion: RwLock<Vec<VoluntaryExit>>,
|
|
||||||
pub transfers_for_inclusion: RwLock<Vec<Transfer>>,
|
|
||||||
pub proposer_slashings_for_inclusion: RwLock<Vec<ProposerSlashing>>,
|
|
||||||
pub attester_slashings_for_inclusion: RwLock<Vec<AttesterSlashing>>,
|
|
||||||
canonical_head: RwLock<CheckPoint>,
|
canonical_head: RwLock<CheckPoint>,
|
||||||
finalized_head: RwLock<CheckPoint>,
|
finalized_head: RwLock<CheckPoint>,
|
||||||
pub state: RwLock<BeaconState>,
|
pub state: RwLock<BeaconState>,
|
||||||
@ -149,11 +144,6 @@ where
|
|||||||
slot_clock,
|
slot_clock,
|
||||||
attestation_aggregator,
|
attestation_aggregator,
|
||||||
op_pool: RwLock::new(OperationPool::new()),
|
op_pool: RwLock::new(OperationPool::new()),
|
||||||
deposits_for_inclusion: RwLock::new(vec![]),
|
|
||||||
exits_for_inclusion: RwLock::new(vec![]),
|
|
||||||
transfers_for_inclusion: RwLock::new(vec![]),
|
|
||||||
proposer_slashings_for_inclusion: RwLock::new(vec![]),
|
|
||||||
attester_slashings_for_inclusion: RwLock::new(vec![]),
|
|
||||||
state: RwLock::new(genesis_state),
|
state: RwLock::new(genesis_state),
|
||||||
finalized_head,
|
finalized_head,
|
||||||
canonical_head,
|
canonical_head,
|
||||||
|
Loading…
Reference in New Issue
Block a user