app

package
v0.0.0-...-6ee0886 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FletaApp

type FletaApp struct {
	*types.ApplicationBase
	// contains filtered or unexported fields
}

FletaApp is app

func NewFletaApp

func NewFletaApp() *FletaApp

NewFletaApp returns a FletaApp

func (*FletaApp) Init

func (app *FletaApp) Init(reg *types.Register, pm types.ProcessManager, cn types.Provider) error

Init initializes the consensus

func (*FletaApp) InitGenesis

func (app *FletaApp) InitGenesis(ctw *types.ContextWrapper) error

InitGenesis initializes genesis data

func (*FletaApp) Name

func (app *FletaApp) Name() string

Name returns the name of the application

func (*FletaApp) OnLoadChain

func (app *FletaApp) OnLoadChain(loader types.LoaderWrapper) error

OnLoadChain called when the chain loaded

func (*FletaApp) Version

func (app *FletaApp) Version() string

Version returns the version of the application

Jump to

Keyboard shortcuts

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