app

package
v0.1.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultCLIHome  = os.ExpandEnv("$HOME/.ichaincli")
	DefaultNodeHome = os.ExpandEnv("$HOME/.ichaind")
)

default home directories for expected binaries

Functions

func MakeCodec

func MakeCodec() *wire.Codec

MakeCodec Custom tx codec

Types

type IchainApp

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

IchainApp Extended ABCI application

func NewIchainApp

func NewIchainApp(logger log.Logger, db dbm.DB) *IchainApp

NewIchainApp new ichain application

func (*IchainApp) BeginBlocker added in v0.1.4

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

application updates every end block

func (*IchainApp) EndBlocker added in v0.1.4

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

application updates every end block

func (*IchainApp) ExportAppStateJSON added in v0.0.2

func (app *IchainApp) 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