Documentation ¶
Index ¶
- type Application
- func (app *Application) CheckTx(_ context.Context, req *types.RequestCheckTx) (*types.ResponseCheckTx, error)
- func (app *Application) FinalizeBlock(_ context.Context, req *types.RequestFinalizeBlock) (*types.ResponseFinalizeBlock, error)
- func (app *Application) Info(_ context.Context, _ *types.RequestInfo) (*types.ResponseInfo, error)
- func (app *Application) InitCoreChainLock(initCoreChainHeight uint32, step int32)
- func (app *Application) PrepareProposal(_ context.Context, req *types.RequestPrepareProposal) (*types.ResponsePrepareProposal, error)
- func (app *Application) ProcessProposal(_ context.Context, req *types.RequestProcessProposal) (*types.ResponseProcessProposal, error)
- func (app *Application) Query(_ context.Context, reqQuery *types.RequestQuery) (*types.ResponseQuery, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { types.BaseApplication HasCoreChainLocks bool CurrentCoreChainLockHeight uint32 CoreChainLockStep int32 // contains filtered or unexported fields }
func NewApplication ¶
func NewApplication(serial bool) *Application
func (*Application) CheckTx ¶
func (app *Application) CheckTx(_ context.Context, req *types.RequestCheckTx) (*types.ResponseCheckTx, error)
func (*Application) FinalizeBlock ¶
func (app *Application) FinalizeBlock(_ context.Context, req *types.RequestFinalizeBlock) (*types.ResponseFinalizeBlock, error)
func (*Application) Info ¶
func (app *Application) Info(_ context.Context, _ *types.RequestInfo) (*types.ResponseInfo, error)
func (*Application) InitCoreChainLock ¶
func (app *Application) InitCoreChainLock(initCoreChainHeight uint32, step int32)
func (*Application) PrepareProposal ¶
func (app *Application) PrepareProposal(_ context.Context, req *types.RequestPrepareProposal) (*types.ResponsePrepareProposal, error)
func (*Application) ProcessProposal ¶
func (app *Application) ProcessProposal(_ context.Context, req *types.RequestProcessProposal) (*types.ResponseProcessProposal, error)
func (*Application) Query ¶
func (app *Application) Query(_ context.Context, reqQuery *types.RequestQuery) (*types.ResponseQuery, error)
Click to show internal directories.
Click to hide internal directories.