memoInterface

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load()

Types

type MemoApplication

type MemoApplication struct {
	chainStructure.BlankApplication

	CryptoTools crypto.Tools
	// contains filtered or unexported fields
}

func (*MemoApplication) Execute

func (m *MemoApplication) Execute(
	req blockchainRequest.Entity,
	blk block.Entity,
	_ uint32,
) (result applicationResult.Entity, err error)

func (*MemoApplication) GetActionAsRequest

func (*MemoApplication) Information

func (m *MemoApplication) Information() (info service.BasicInformation)

func (*MemoApplication) Name

func (m *MemoApplication) Name() (name string)

func (*MemoApplication) PreExecute

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

func (*MemoApplication) PushClientRequest

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

func (*MemoApplication) Query

func (m *MemoApplication) Query(req []byte) (result interface{}, err error)

func (*MemoApplication) QueryMemo

func (m *MemoApplication) QueryMemo(hash string) (memo memoSpace.Memo, err error)

func (*MemoApplication) RequestsForBlock

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

func (*MemoApplication) VerifyReq

func (m *MemoApplication) VerifyReq(req blockchainRequest.Entity) (passed bool, memo memoSpace.Memo, err error)

Jump to

Keyboard shortcuts

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