batchreconstruction

package
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IncludeBatchReconstruction

func IncludeBatchReconstruction(
	m dsl.Module,
	mc common.ModuleConfig,
	params *common.ModuleParams,
	logger logging.Logger,
)

IncludeBatchReconstruction registers event handlers for processing availabilitypb.RequestTransactions events.

Types

type RequestState

type RequestState struct {
	NonEmptyCerts []msctypes.BatchID
	Txs           map[msctypes.BatchID][]*trantorpbtypes.Transaction
	ReqOrigin     *apbtypes.RequestTransactionsOrigin
}

RequestState represents the state related to a request on the source node of the request. The node disposes of this state as soon as the request is completed.

type State

type State struct {
	NextReqID    msctypes.RequestID
	RequestState map[msctypes.RequestID]*RequestState
}

State represents the state related to this part of the module.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL