Documentation ¶
Index ¶
- func NewServiceBlockSync(ctx context.Context, logger log.Logger, source blockSource, ...) *govnr.ForeverHandle
- func NewStateStorageCommitter(stateStorage services.StateStorage) *stateStorageCommitter
- func NewTxPoolCommitter(txPool services.TransactionPool) *transactionPoolCommitter
- type BlockPairCommitter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServiceBlockSync ¶
func NewServiceBlockSync(ctx context.Context, logger log.Logger, source blockSource, committer BlockPairCommitter) *govnr.ForeverHandle
func NewStateStorageCommitter ¶
func NewStateStorageCommitter(stateStorage services.StateStorage) *stateStorageCommitter
func NewTxPoolCommitter ¶
func NewTxPoolCommitter(txPool services.TransactionPool) *transactionPoolCommitter
Types ¶
type BlockPairCommitter ¶
type BlockPairCommitter interface { GetServiceName() string // contains filtered or unexported methods }
Click to show internal directories.
Click to hide internal directories.