hub

package module
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: Apache-2.0 Imports: 92 Imported by: 0

README

Sentinel Hub

Codecov GoReportCard Licence LoC Tag

Installation

Requires Go 1.16+

Linux
mkdir -p ${GOPATH}/src/github.com/sentinel-official && \
cd ${GOPATH}/src/github.com/sentinel-official/ && \
git clone https://github.com/sentinel-official/hub.git && \
cd ${GOPATH}/src/github.com/sentinel-official/hub/ && \
make install

Note: To install a specific version or commit use git checkout command

For more documentation please visit docs

Documentation

Index

Constants

This section is empty.

Variables

Functions

func MakeEncodingConfig added in v0.6.0

func MakeEncodingConfig() params.EncodingConfig

Types

type App

type App struct {
	*baseapp.BaseApp
	// contains filtered or unexported fields
}

func NewApp

func NewApp(
	logger log.Logger,
	db tmdb.DB,
	tracer io.Writer,
	loadLatest bool,
	skipUpgradeHeights map[int64]bool,
	homePath string,
	invarCheckPeriod uint,
	encodingConfig hubparams.EncodingConfig,
	appOptions servertypes.AppOptions,
	baseAppOptions ...func(*baseapp.BaseApp),
) *App

func (*App) AppCodec added in v0.6.0

func (a *App) AppCodec() codec.Marshaler

func (*App) BeginBlocker

func (a *App) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock

func (*App) EndBlocker

func (a *App) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock

func (*App) ExportAppStateAndValidators

func (a *App) ExportAppStateAndValidators(
	forZeroHeight bool, jailAllowedAddrs []string,
) (servertypes.ExportedApp, error)

func (*App) GetSubspace added in v0.6.0

func (a *App) GetSubspace(moduleName string) paramstypes.Subspace

func (*App) InitChainer

func (a *App) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain

func (*App) InterfaceRegistry added in v0.6.0

func (a *App) InterfaceRegistry() codectypes.InterfaceRegistry

func (*App) LegacyAmino added in v0.6.0

func (a *App) LegacyAmino() *codec.LegacyAmino

func (*App) LoadHeight

func (a *App) LoadHeight(height int64) error

func (*App) ModuleAccountAddrs added in v0.4.0

func (a *App) ModuleAccountAddrs() map[string]bool

func (*App) ModuleAccountsPermissions added in v0.4.0

func (a *App) ModuleAccountsPermissions() map[string][]string

func (*App) Name added in v0.6.0

func (a *App) Name() string

func (*App) RegisterAPIRoutes added in v0.6.0

func (a *App) RegisterAPIRoutes(server *api.Server, _ serverconfig.APIConfig)

func (*App) RegisterTendermintService added in v0.6.0

func (a *App) RegisterTendermintService(ctx client.Context)

func (*App) RegisterTxService added in v0.6.0

func (a *App) RegisterTxService(ctx client.Context)

func (*App) SimulationManager added in v0.4.0

func (a *App) SimulationManager() *module.SimulationManager

Directories

Path Synopsis
cmd
upgrades
x
deposit/types
Package types is a reverse proxy.
Package types is a reverse proxy.
node/types
Package types is a reverse proxy.
Package types is a reverse proxy.
plan/types
Package types is a reverse proxy.
Package types is a reverse proxy.
provider/types
Package types is a reverse proxy.
Package types is a reverse proxy.
session/types
Package types is a reverse proxy.
Package types is a reverse proxy.
subscription/types
Package types is a reverse proxy.
Package types is a reverse proxy.
swap/types
Package types is a reverse proxy.
Package types is a reverse proxy.
vpn

Jump to

Keyboard shortcuts

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