Documentation ¶
Index ¶
- Variables
- func MakeCodec() *codec.Codec
- type GenesisState
- type ServiceApp
- func (app *ServiceApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
- func (app *ServiceApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
- func (app *ServiceApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)
- func (app *ServiceApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
- func (app *ServiceApp) LoadHeight(height int64) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultCLIHome default home directories for the application CLI DefaultCLIHome = os.ExpandEnv("./.w3mcli") // DefaultNodeHome sets the folder where the applcation data and configuration will be stored DefaultNodeHome = os.ExpandEnv("./.w3mail") // ModuleBasics The ModuleBasicManager is in charge of setting up basic, // non-dependant module elements, such as codec registration // and genesis verification. ModuleBasics module.BasicManager )
Functions ¶
Types ¶
type GenesisState ¶
type GenesisState map[string]json.RawMessage
GenesisState represents chain state at the start of the chain. Any initial state (account balances) are stored here.
type ServiceApp ¶
ServiceApp .
func NewW3MailServiceApp ¶
func NewW3MailServiceApp(logger log.Logger, db dbm.DB) *ServiceApp
NewW3MailServiceApp .
func (*ServiceApp) BeginBlocker ¶
func (app *ServiceApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
BeginBlocker .
func (*ServiceApp) EndBlocker ¶
func (app *ServiceApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
EndBlocker .
func (*ServiceApp) ExportAppStateAndValidators ¶
func (app *ServiceApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)
ExportAppStateAndValidators .
func (*ServiceApp) InitChainer ¶
func (app *ServiceApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
InitChainer .
Click to show internal directories.
Click to hide internal directories.