app

package
v0.18.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeCodec

func MakeCodec() *wire.Codec

Custom tx codec

Types

type BasecoinApp

type BasecoinApp struct {
	*bam.BaseApp
	// contains filtered or unexported fields
}

Extended ABCI application

func NewBasecoinApp

func NewBasecoinApp(logger log.Logger, db dbm.DB) *BasecoinApp

func (*BasecoinApp) BeginBlocker added in v0.18.0

func (app *BasecoinApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock

application updates every end block

func (*BasecoinApp) EndBlocker added in v0.18.0

func (app *BasecoinApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock

application updates every end block

func (*BasecoinApp) ExportAppStateJSON added in v0.16.0

func (app *BasecoinApp) ExportAppStateJSON() (appState json.RawMessage, err error)

Custom logic for state export

Jump to

Keyboard shortcuts

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