tsInterface

package
v0.0.0-...-fdc5c16 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load()

Types

type RequestList

type RequestList struct {
	Requests []blockchainRequest.Entity
}

type TraceableStorageApplication

type TraceableStorageApplication struct {
	chainStructure.BlankApplication
	// contains filtered or unexported fields
}

func (*TraceableStorageApplication) Execute

func (t *TraceableStorageApplication) Execute(
	req blockchainRequest.Entity,
	blk block.Entity,
	actIndex uint32,
) (result applicationResult.Entity, err error)

func (*TraceableStorageApplication) Information

func (t *TraceableStorageApplication) Information() (info service.BasicInformation)

func (*TraceableStorageApplication) Name

func (t *TraceableStorageApplication) Name() (name string)

func (*TraceableStorageApplication) PreExecute

func (t *TraceableStorageApplication) PreExecute(req blockchainRequest.Entity, _ block.Entity) (result []byte, err error)

func (*TraceableStorageApplication) PushClientRequest

func (t *TraceableStorageApplication) PushClientRequest(req blockchainRequest.Entity) (result interface{}, err error)

func (*TraceableStorageApplication) Query

func (t *TraceableStorageApplication) Query(reqData []byte) (result interface{}, err error)

func (*TraceableStorageApplication) RequestsForBlock

func (t *TraceableStorageApplication) RequestsForBlock(_ block.Entity) (reqList []blockchainRequest.Entity, cnt uint32)

Jump to

Keyboard shortcuts

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