transaction

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnmarshalTokenTransaction

func UnmarshalTokenTransaction(raw []byte) (*cb.ChannelHeader, *token.TokenTransaction, identity.PublicInfo, error)

Types

type Processor

type Processor struct {
	TMSManager TMSManager
}

func (*Processor) GenerateSimulationResults

func (p *Processor) GenerateSimulationResults(txEnv *common.Envelope, simulator ledger.TxSimulator, initializingLedger bool) error

type TMSManager

type TMSManager interface {
	GetTxProcessor(channel string) (TMSTxProcessor, error)
}

type TMSTxProcessor

type TMSTxProcessor interface {
	ProcessTx(txID string, creator identity.PublicInfo, ttx *token.TokenTransaction, simulator ledger.LedgerWriter) error
}

type TxCreatorInfo

type TxCreatorInfo struct {
	// contains filtered or unexported fields
}

func (*TxCreatorInfo) Public

func (t *TxCreatorInfo) Public() []byte

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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