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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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