2023-08-05 20:54:12 +00:00
|
|
|
package core
|
|
|
|
|
|
|
|
import (
|
2024-02-15 05:46:47 +00:00
|
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/blockchain"
|
|
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/cache"
|
|
|
|
opfeed "github.com/prysmaticlabs/prysm/v5/beacon-chain/core/feed/operation"
|
|
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/operations/synccommittee"
|
|
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/p2p"
|
|
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/state/stategen"
|
|
|
|
"github.com/prysmaticlabs/prysm/v5/beacon-chain/sync"
|
2023-08-05 20:54:12 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type Service struct {
|
2024-01-15 18:50:33 +00:00
|
|
|
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
|
2023-08-05 20:54:12 +00:00
|
|
|
}
|