coordinator

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2019 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTransactionCoordinator

func NewTransactionCoordinator(
	shardCoordinator sharding.Coordinator,
	accounts state.AccountsAdapter,
	dataPool dataRetriever.PoolsHolder,
	requestHandler process.RequestHandler,
	preProcessors process.PreProcessorsContainer,
	interProcessors process.IntermediateProcessorContainer,
) (*transactionCoordinator, error)

NewTransactionCoordinator creates a transaction coordinator to run and coordinate preprocessors and processors

func NewTxTypeHandler

func NewTxTypeHandler(
	adrConv state.AddressConverter,
	shardCoordinator sharding.Coordinator,
	accounts state.AccountsAdapter,
) (*txTypeHandler, error)

NewTxTypeHandler creates a transaction type handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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