app

package
v0.30.0-dev1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultCLIHome  = os.ExpandEnv("$HOME/.democli")
	DefaultNodeHome = os.ExpandEnv("$HOME/.democoind")
)

default home directories for expected binaries

Functions

func MakeCodec

func MakeCodec() *codec.Codec

custom tx codec

Types

type DemocoinApp

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

Extended ABCI application

func NewDemocoinApp

func NewDemocoinApp(logger log.Logger, db dbm.DB) *DemocoinApp

func (*DemocoinApp) ExportAppStateAndValidators

func (app *DemocoinApp) ExportAppStateAndValidators() (appState json.RawMessage, validators []tmtypes.GenesisValidator, 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