batchreconstruction

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 11 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,
	nodeID t.NodeID,
)

IncludeBatchReconstruction registers event handlers for processing availabilitypb.RequestTransactions events.

Types

type RequestID

type RequestID = uint64

RequestID is used to uniquely identify an outgoing request.

type RequestState

type RequestState struct {
	BatchID   t.BatchID
	ReqOrigin *apb.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    RequestID
	RequestState map[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