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