mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-08 02:31:19 +00:00
abef94d7ad
* do not check optimistic status if cached attestation * Gazelle * Gazelle again * fix nil panics * more nil checks * more nil checks --------- Co-authored-by: terence tsao <terence@prysmaticlabs.com>
26 lines
982 B
Go
26 lines
982 B
Go
package core
|
|
|
|
import (
|
|
"github.com/prysmaticlabs/prysm/v4/beacon-chain/blockchain"
|
|
"github.com/prysmaticlabs/prysm/v4/beacon-chain/cache"
|
|
opfeed "github.com/prysmaticlabs/prysm/v4/beacon-chain/core/feed/operation"
|
|
"github.com/prysmaticlabs/prysm/v4/beacon-chain/operations/synccommittee"
|
|
"github.com/prysmaticlabs/prysm/v4/beacon-chain/p2p"
|
|
"github.com/prysmaticlabs/prysm/v4/beacon-chain/state/stategen"
|
|
"github.com/prysmaticlabs/prysm/v4/beacon-chain/sync"
|
|
)
|
|
|
|
type Service struct {
|
|
HeadFetcher blockchain.HeadFetcher
|
|
FinalizedFetcher blockchain.FinalizationFetcher
|
|
GenesisTimeFetcher blockchain.TimeFetcher
|
|
SyncChecker sync.Checker
|
|
Broadcaster p2p.Broadcaster
|
|
SyncCommitteePool synccommittee.Pool
|
|
OperationNotifier opfeed.Notifier
|
|
AttestationCache *cache.AttestationCache
|
|
StateGen stategen.StateManager
|
|
P2P p2p.Broadcaster
|
|
OptimisticModeFetcher blockchain.OptimisticModeFetcher
|
|
}
|