app

package
v0.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasecoinApp

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

BasecoinApp - extended ABCI application

func NewBasecoinApp

func NewBasecoinApp(genesisPath string) *BasecoinApp

NewBasecoinApp - create new BasecoinApp TODO: This should take in more configuration options. TODO: This should be moved into baseapp to isolate complexity

func (*BasecoinApp) RunForever added in v0.9.0

func (app *BasecoinApp) RunForever()

RunForever - BasecoinApp execution and cleanup

type GenesisAccount added in v0.9.0

type GenesisAccount struct {
	Name    string         `json:"name"`
	Address crypto.Address `json:"address"`
	Coins   sdk.Coins      `json:"coins"`
}

GenesisAccount doesn't need pubkey or sequence

func NewGenesisAccount added in v0.9.0

func NewGenesisAccount(aa *types.AppAccount) *GenesisAccount

type GenesisState added in v0.9.0

type GenesisState struct {
	Accounts []*GenesisAccount `accounts`
}

Jump to

Keyboard shortcuts

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