app

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2019 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCodec

func CreateCodec() *codec.Codec

CreateCodec generates the necessary codecs for Amino

func NewTCPApp

func NewTCPApp(logger log.Logger, db dbm.DB) *tcpApp

NewTCPApp is a constructor function for tcpApp

Types

type GenesisState

type GenesisState struct {
	AuthData auth.GenesisState   `json:"auth"`
	BankData bank.GenesisState   `json:"bank"`
	Accounts []*auth.BaseAccount `json:"accounts"`
}

GenesisState represents chain state at the start of the chain. Any initial state (account balances) are stored here.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳