w3mail

package module
v0.0.0-...-241c56a Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: GPL-3.0 Imports: 19 Imported by: 0

README

w3mail

w3 email service build on cosmos sdk

Documentation

Index

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

func MakeCodec

func MakeCodec() *codec.Codec

MakeCodec custom tx codec

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.

func NewDefaultGenesisState

func NewDefaultGenesisState() GenesisState

NewDefaultGenesisState .

type ServiceApp

type ServiceApp struct {
	*baseapp.BaseApp
	// contains filtered or unexported fields
}

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 .

func (*ServiceApp) LoadHeight

func (app *ServiceApp) LoadHeight(height int64) error

LoadHeight .

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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