2023-08-05 20:54:12 +00:00
|
|
|
package core
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/prysmaticlabs/prysm/v4/beacon-chain/blockchain"
|
2023-08-14 14:56:36 +00:00
|
|
|
"github.com/prysmaticlabs/prysm/v4/beacon-chain/cache"
|
2023-08-05 20:54:12 +00:00
|
|
|
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"
|
2023-08-14 14:56:36 +00:00
|
|
|
"github.com/prysmaticlabs/prysm/v4/beacon-chain/state/stategen"
|
2023-08-05 20:54:12 +00:00
|
|
|
"github.com/prysmaticlabs/prysm/v4/beacon-chain/sync"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Service struct {
|
|
|
|
HeadFetcher blockchain.HeadFetcher
|
|
|
|
GenesisTimeFetcher blockchain.TimeFetcher
|
|
|
|
SyncChecker sync.Checker
|
|
|
|
Broadcaster p2p.Broadcaster
|
|
|
|
SyncCommitteePool synccommittee.Pool
|
|
|
|
OperationNotifier opfeed.Notifier
|
2023-08-14 14:56:36 +00:00
|
|
|
AttestationCache *cache.AttestationCache
|
|
|
|
StateGen stategen.StateManager
|
2023-09-01 17:58:50 +00:00
|
|
|
P2P p2p.Broadcaster
|
2023-08-05 20:54:12 +00:00
|
|
|
}
|