app

package
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: Apache-2.0 Imports: 29 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

Functions

func MakeCodec

func MakeCodec() *amino.Codec

func NewDefaultGenesisState added in v0.0.4

func NewDefaultGenesisState() types.GenesisState

func RegisterCodec

func RegisterCodec(cdc *amino.Codec)

Types

type QOSApp

type QOSApp struct {
	*baseabci.BaseApp
	// contains filtered or unexported fields
}

func NewApp

func NewApp(cfg *config.Config, logger log.Logger, db dbm.DB, traceStore io.Writer, invCheckPeriod uint) *QOSApp

func (*QOSApp) AssertInvariants added in v0.0.6

func (app *QOSApp) AssertInvariants(ctx context.Context)

func (*QOSApp) BeginBlocker added in v0.0.6

func (app *QOSApp) BeginBlocker(ctx context.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock

func (*QOSApp) EndBlocker added in v0.0.6

func (app *QOSApp) EndBlocker(ctx context.Context, req abci.RequestEndBlock) abci.ResponseEndBlock

func (*QOSApp) ExportAppStates added in v0.0.4

func (app *QOSApp) ExportAppStates(forZeroHeight bool) (appState json.RawMessage, err error)

func (*QOSApp) GasHandler added in v0.0.6

func (app *QOSApp) GasHandler(ctx context.Context, payer btypes.AccAddress) (gasUsed uint64, err btypes.Error)

gas

func (*QOSApp) InitChainer added in v0.0.6

func (app *QOSApp) InitChainer(ctx context.Context, req abci.RequestInitChain) (res abci.ResponseInitChain)

func (*QOSApp) RegisterHooksMapper added in v0.0.6

func (app *QOSApp) RegisterHooksMapper(mhs map[string]types.MapperWithHooks)

func (*QOSApp) RegisterInvarRoute added in v0.0.6

func (app *QOSApp) RegisterInvarRoute(module string, route string, invar types.Invariant)

func (*QOSApp) RegisterQueryRoute added in v0.0.6

func (app *QOSApp) RegisterQueryRoute(module string, query types.Querier)

Jump to

Keyboard shortcuts

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