coordinator

package
v1.0.92 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2020 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTransactionCoordinator

func NewTransactionCoordinator(
	hasher hashing.Hasher,
	marshalizer marshal.Marshalizer,
	shardCoordinator sharding.Coordinator,
	accounts state.AccountsAdapter,
	miniBlockPool storage.Cacher,
	requestHandler process.RequestHandler,
	preProcessors process.PreProcessorsContainer,
	interProcessors process.IntermediateProcessorContainer,
	gasHandler process.GasHandler,
) (*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