Documentation ¶
Index ¶
- type Manager
- func (m *Manager) AggregationLoop(ctx context.Context, lazy bool)
- func (m *Manager) IsProposer() (bool, error)
- func (m *Manager) ProcessFraudProof(ctx context.Context, cancel context.CancelFunc)
- func (m *Manager) RetrieveLoop(ctx context.Context)
- func (m *Manager) SetDALC(dalc da.DataAvailabilityLayerClient)
- func (m *Manager) SetFraudProofService(fraudProofServ *fraudserv.ProofService)
- func (m *Manager) SyncLoop(ctx context.Context, cancel context.CancelFunc)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { HeaderCh chan *types.SignedHeader // contains filtered or unexported fields }
Manager is responsible for aggregating transactions into blocks.
func NewManager ¶
func NewManager( proposerKey crypto.PrivKey, conf config.BlockManagerConfig, genesis *tmtypes.GenesisDoc, store store.Store, mempool mempool.Mempool, proxyApp proxy.AppConnConsensus, dalc da.DataAvailabilityLayerClient, eventBus *tmtypes.EventBus, logger log.Logger, doneBuildingCh chan struct{}, ) (*Manager, error)
NewManager creates new block Manager.
func (*Manager) AggregationLoop ¶
AggregationLoop is responsible for aggregating transactions into rollup-blocks.
func (*Manager) IsProposer ¶ added in v0.7.3
func (*Manager) ProcessFraudProof ¶ added in v0.8.0
func (m *Manager) ProcessFraudProof(ctx context.Context, cancel context.CancelFunc)
func (*Manager) RetrieveLoop ¶
RetrieveLoop is responsible for interacting with DA layer.
func (*Manager) SetDALC ¶
func (m *Manager) SetDALC(dalc da.DataAvailabilityLayerClient)
SetDALC is used to set DataAvailabilityLayerClient used by Manager.
func (*Manager) SetFraudProofService ¶ added in v0.8.0
func (m *Manager) SetFraudProofService(fraudProofServ *fraudserv.ProofService)
Click to show internal directories.
Click to hide internal directories.