hub

package module
v0.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: Apache-2.0 Imports: 34 Imported by: 0

README

Sentinel Hub

Tag GoReportCard Licence LoC

Installation

Requires Go 1.14+

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

Additional Documentation

For the additional documentation on the Sentinel Hub, please visit - https://docs.sentinel.co

Documentation

Index

Constants

This section is empty.

Variables

Functions

func MakeCodec

func MakeCodec() *codec.Codec

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,
	invarCheckPeriod uint,
	options ...func(*baseapp.BaseApp),
) *App

func (*App) BeginBlocker

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

func (*App) Codec added in v0.4.0

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

func (*App) EndBlocker

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

func (*App) ExportAppStateAndValidators

func (a *App) ExportAppStateAndValidators(zeroHeight bool,
	jailWhitelist []string) (json.RawMessage, []tm.GenesisValidator, error)

func (*App) InitChainer

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

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) ModuleAccountAddrsBlackList added in v0.4.0

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

func (*App) ModuleAccountAddrsWhiteList added in v0.4.0

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

func (*App) ModuleAccountsPermissions added in v0.4.0

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

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 ALIASGEN: github.com/sentinel-official/hub/x/deposit/querier
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 ALIASGEN: github.com/sentinel-official/hub/x/deposit/querier
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 ALIASGEN: github.com/sentinel-official/hub/x/node/querier
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 ALIASGEN: github.com/sentinel-official/hub/x/node/querier
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 ALIASGEN: github.com/sentinel-official/hub/x/plan/querier
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 ALIASGEN: github.com/sentinel-official/hub/x/plan/querier
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 ALIASGEN: github.com/sentinel-official/hub/x/provider/querier
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 ALIASGEN: github.com/sentinel-official/hub/x/provider/querier
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 ALIASGEN: github.com/sentinel-official/hub/x/session/querier
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 ALIASGEN: github.com/sentinel-official/hub/x/session/querier
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 ALIASGEN: github.com/sentinel-official/hub/x/subscription/querier
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 ALIASGEN: github.com/sentinel-official/hub/x/subscription/querier
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 ALIASGEN: github.com/sentinel-official/hub/x/swap/querier
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 ALIASGEN: github.com/sentinel-official/hub/x/swap/querier
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 ALIASGEN: github.com/sentinel-official/hub/x/vpn/querier
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 ALIASGEN: github.com/sentinel-official/hub/x/vpn/querier

Jump to

Keyboard shortcuts

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