Documentation ¶
Index ¶
- Variables
- func MakeCodec() *codec.Codec
- type GenesisState
- type StrongForceApp
- func (app *StrongForceApp) BeginBlocker(ctx types.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
- func (app *StrongForceApp) EndBlocker(ctx types.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
- func (app *StrongForceApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string) (appState json.RawMessage, validators []tendermintTypes.GenesisValidator, ...)
- func (app *StrongForceApp) InitChainer(ctx types.Context, req abci.RequestInitChain) abci.ResponseInitChain
- func (app *StrongForceApp) LoadHeight(height int64) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultCLIHome is the default home directory for the application CLI DefaultCLIHome = os.ExpandEnv("$HOME/.strongforcecli") // DefaultNodeHome is the default the folder where the applcation data and configuration are stored DefaultNodeHome = os.ExpandEnv("$HOME/.strongforced") // ModuleBasicManager is in charge of setting up basic module elemnets ModuleBasicManager = module.NewBasicManager( auth.AppModuleBasic{}, distribution.AppModuleBasic{}, genaccounts.AppModuleBasic{}, genutil.AppModuleBasic{}, params.AppModuleBasic{}, slashing.AppModuleBasic{}, staking.AppModuleBasic{}, strongforce.AppModuleBasic{}, supply.AppModuleBasic{}, bank.AppModuleBasic{}, ) )
Functions ¶
Types ¶
type GenesisState ¶
type GenesisState map[string]json.RawMessage
GenesisState represents the genesis state of a strongforce app
func NewDefaultGenesisState ¶
func NewDefaultGenesisState() GenesisState
NewDefaultGenesisState returns the default GenesisState
type StrongForceApp ¶
StrongForceApp - Type containing needed information for the strongforce cosmos/tendermint application
func NewStrongForceApp ¶
func NewStrongForceApp(logger log.Logger, db db.DB) *StrongForceApp
NewStrongForceApp - Constructs a new StrongForceApp
func (*StrongForceApp) BeginBlocker ¶
func (app *StrongForceApp) BeginBlocker(ctx types.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
BeginBlocker prepares an abci ResponseBeginBlock command
func (*StrongForceApp) EndBlocker ¶
func (app *StrongForceApp) EndBlocker(ctx types.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
EndBlocker prepares an abci ResponseEndBlock command
func (*StrongForceApp) ExportAppStateAndValidators ¶
func (app *StrongForceApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string, ) (appState json.RawMessage, validators []tendermintTypes.GenesisValidator, err error)
ExportAppStateAndValidators exports the app state and validators
func (*StrongForceApp) InitChainer ¶
func (app *StrongForceApp) InitChainer(ctx types.Context, req abci.RequestInitChain) abci.ResponseInitChain
InitChainer prepares an abci ResponseInitChain command
func (*StrongForceApp) LoadHeight ¶
func (app *StrongForceApp) LoadHeight(height int64) error
LoadHeight sets the app to a given height
Click to show internal directories.
Click to hide internal directories.