app

package
v0.0.0-...-24d451d Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BCChainApplication

type BCChainApplication struct {
	types.BaseApplication
	// contains filtered or unexported fields
}

BCChainApplication object of application

func NewBCChainApplication

func NewBCChainApplication(config common.Config, logger log.Loggerf) *BCChainApplication

NewBCChainApplication create an application object

func (*BCChainApplication) BeginBlock

BeginBlock beginblock interface

func (*BCChainApplication) ChainVersion

func (app *BCChainApplication) ChainVersion() int64

func (*BCChainApplication) CheckTx

func (app *BCChainApplication) CheckTx(tx []byte) types.ResponseCheckTx

CheckTx checkTx interface

func (*BCChainApplication) CleanData

func (app *BCChainApplication) CleanData() types.ResponseCleanData

CleanData clean all bcchain data when side chain genesis

func (*BCChainApplication) Commit

func (app *BCChainApplication) Commit() types.ResponseCommit

Commit commit interface

func (*BCChainApplication) DeliverTx

func (app *BCChainApplication) DeliverTx(tx []byte) types.ResponseDeliverTx

DeliverTx deliverTx interface

func (*BCChainApplication) Echo

Echo echo interface

func (*BCChainApplication) EndBlock

EndBlock endblock interface

func (*BCChainApplication) Flush

Flush flush interface

func (*BCChainApplication) GetGenesis

func (app *BCChainApplication) GetGenesis() types.ResponseGetGenesis

func (*BCChainApplication) Info

Info info interface

func (*BCChainApplication) InitChain

InitChain 初次初始化链后立马注册合约

func (*BCChainApplication) Query

Query query interface

func (*BCChainApplication) QueryEx

Query queryEx interface

func (*BCChainApplication) Rollback

func (app *BCChainApplication) Rollback() types.ResponseRollback

func (*BCChainApplication) SetOption

SetOption set option interface

Jump to

Keyboard shortcuts

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