Documentation
¶
Index ¶
- Variables
- type OKChainApp
- func (app *OKChainApp) BeginBlock(req abci.RequestBeginBlock) (res abci.ResponseBeginBlock)
- func (app *OKChainApp) Commit() abci.ResponseCommit
- func (app *OKChainApp) DeliverTx(req abci.RequestDeliverTx) (res abci.ResponseDeliverTx)
- func (app *OKChainApp) EndBlock(req abci.RequestEndBlock) (res abci.ResponseEndBlock)
- func (app *OKChainApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)
- func (app *OKChainApp) InitChain(req abci.RequestInitChain) (res abci.ResponseInitChain)
- func (app *OKChainApp) LoadHeight(height int64) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // MakeCodec is the function alias for codec maker MakeCodec = protocol.MakeCodec // ModuleBasics is the variable alias for NewBasicManager ModuleBasics = protocol.ModuleBasics // DefaultCLIHome is the directory for okchaincli DefaultCLIHome = protocol.DefaultCLIHome // DefaultNodeHome is the directory for okchaind DefaultNodeHome = protocol.DefaultNodeHome )
Functions ¶
This section is empty.
Types ¶
type OKChainApp ¶
OKChainApp extends BaseApp(ABCI application)
func NewOKChainApp ¶
func NewOKChainApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, invCheckPeriod uint, baseAppOptions ...func(*baseapp.BaseApp)) *OKChainApp
NewOKChainApp returns a reference to an initialized OKChainApp.
func (*OKChainApp) BeginBlock ¶
func (app *OKChainApp) BeginBlock(req abci.RequestBeginBlock) (res abci.ResponseBeginBlock)
BeginBlock implements the Application interface
func (*OKChainApp) Commit ¶
func (app *OKChainApp) Commit() abci.ResponseCommit
Commit implements the Application interface
func (*OKChainApp) DeliverTx ¶
func (app *OKChainApp) DeliverTx(req abci.RequestDeliverTx) (res abci.ResponseDeliverTx)
DeliverTx implements the Application interface
func (*OKChainApp) EndBlock ¶
func (app *OKChainApp) EndBlock(req abci.RequestEndBlock) (res abci.ResponseEndBlock)
EndBlock implements the Application interface
func (*OKChainApp) ExportAppStateAndValidators ¶
func (app *OKChainApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string, ) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)
ExportAppStateAndValidators exports the state of okchain for a genesis file
func (*OKChainApp) InitChain ¶
func (app *OKChainApp) InitChain(req abci.RequestInitChain) (res abci.ResponseInitChain)
InitChain implements the Application interface
func (*OKChainApp) LoadHeight ¶
func (app *OKChainApp) LoadHeight(height int64) error
LoadHeight loads data on a particular height
Click to show internal directories.
Click to hide internal directories.