app

package
Version: v0.0.0-...-8790121 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// default home directories for gaiacli
	DefaultCLIHome = os.ExpandEnv("$HOME/.sikkacli")

	// default home directories for gaiad
	DefaultNodeHome = os.ExpandEnv("$HOME/.sikkad")

	// The ModuleBasicManager is in charge of setting up basic,
	// non-dependant module elements, such as codec registration
	// and genesis verification.
	ModuleBasics sdk.ModuleBasicManager
)

Functions

func MakeCodec

func MakeCodec() *codec.Codec

custom tx codec

Types

type GaiaApp

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

Extended ABCI application

func NewGaiaApp

func NewGaiaApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool,
	invCheckPeriod uint, baseAppOptions ...func(*bam.BaseApp)) *GaiaApp

NewGaiaApp returns a reference to an initialized GaiaApp.

func (*GaiaApp) BeginBlocker

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

application updates every begin block

func (*GaiaApp) EndBlocker

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

application updates every end block

func (*GaiaApp) InitChainer

func (app *GaiaApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain

application update at chain initialization

func (*GaiaApp) LoadHeight

func (app *GaiaApp) LoadHeight(height int64) error

load a particular height

Source Files

Jump to

Keyboard shortcuts

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