customtx

package
v0.0.0-...-95b87ed Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(customTxProcessors Processors)

func InitializeTestEnv

func InitializeTestEnv(processors Processors)

Types

type InvalidTxError

type InvalidTxError struct {
	Msg string
}

func (*InvalidTxError) Error

func (e *InvalidTxError) Error() string

type Processor

type Processor interface {
	GenerateSimulationResults(txEnvelop *common.Envelope, simulator ledger.TxSimulator, initializingLedger bool) error
}

func GetProcessor

func GetProcessor(txType common.HeaderType) Processor

type Processors

type Processors map[common.HeaderType]Processor

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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