Documentation
¶
Index ¶
Constants ¶
View Source
const AppName = "BeaconKitApp"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BeaconApp ¶
type BeaconApp struct { *runtime.App // TODO: should we restructure the relationship between // the BeaconKeeper BeaconKitRuntime? BeaconKeeper *beaconkeeper.Keeper BeaconKitRuntime *beaconkitruntime.BeaconKitRuntime ConsensusParamsKeeper consensuskeeper.Keeper // contains filtered or unexported fields }
BeaconApp extends an ABCI application, but with most of its parameters exported. They are exported for convenience in creating helper functions, as object capabilities aren't needed for testing.
func NewBeaconKitApp ¶
func NewBeaconKitApp( logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, appOpts servertypes.AppOptions, baseAppOptions ...func(*baseapp.BaseApp), ) *BeaconApp
NewBeaconKitApp returns a reference to an initialized BeaconApp.
func NewBeaconKitAppWithDefaultBaseAppOptions ¶
func NewBeaconKitAppWithDefaultBaseAppOptions( logger log.Logger, db dbm.DB, traceStore io.Writer, appOpts servertypes.AppOptions, ) BeaconApp
NewBeaconKitAppWithDefaultBaseAppOptions returns a reference to an initialized BeaconApp.
func (*BeaconApp) ExportAppStateAndValidators ¶
func (app *BeaconApp) ExportAppStateAndValidators( forZeroHeight bool, _, modulesToExport []string, ) (servertypes.ExportedApp, error)
ExportAppStateAndValidators exports the state of the application for a genesis file.
Click to show internal directories.
Click to hide internal directories.