hub

package module
v0.6.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 87 Imported by: 0

README

Sentinel Hub

Tag GoReportCard Licence LoC

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
x
deposit
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/deposit/types ALIASGEN: github.com/sentinel-official/hub/x/deposit/keeper
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/deposit/types ALIASGEN: github.com/sentinel-official/hub/x/deposit/keeper
deposit/types
Package types is a reverse proxy.
Package types is a reverse proxy.
node
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/node/types ALIASGEN: github.com/sentinel-official/hub/x/node/keeper
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/node/types ALIASGEN: github.com/sentinel-official/hub/x/node/keeper
node/types
Package types is a reverse proxy.
Package types is a reverse proxy.
plan
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/plan/types ALIASGEN: github.com/sentinel-official/hub/x/plan/keeper
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/plan/types ALIASGEN: github.com/sentinel-official/hub/x/plan/keeper
plan/types
Package types is a reverse proxy.
Package types is a reverse proxy.
provider
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/provider/types ALIASGEN: github.com/sentinel-official/hub/x/provider/keeper
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/provider/types ALIASGEN: github.com/sentinel-official/hub/x/provider/keeper
provider/types
Package types is a reverse proxy.
Package types is a reverse proxy.
session
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/session/types ALIASGEN: github.com/sentinel-official/hub/x/session/keeper
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/session/types ALIASGEN: github.com/sentinel-official/hub/x/session/keeper
session/types
Package types is a reverse proxy.
Package types is a reverse proxy.
subscription
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/subscription/types ALIASGEN: github.com/sentinel-official/hub/x/subscription/keeper
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/subscription/types ALIASGEN: github.com/sentinel-official/hub/x/subscription/keeper
subscription/types
Package types is a reverse proxy.
Package types is a reverse proxy.
swap
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/swap/types ALIASGEN: github.com/sentinel-official/hub/x/swap/keeper
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/swap/types ALIASGEN: github.com/sentinel-official/hub/x/swap/keeper
swap/types
Package types is a reverse proxy.
Package types is a reverse proxy.
vpn
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/vpn/types ALIASGEN: github.com/sentinel-official/hub/x/vpn/keeper
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/vpn/types ALIASGEN: github.com/sentinel-official/hub/x/vpn/keeper

Jump to

Keyboard shortcuts

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