Documentation ¶
Index ¶
- func AddMonomerCommand(rootCmd *cobra.Command, appCreator servertypes.AppCreator, ...)
- type WrappedApplication
- func (wa *WrappedApplication) CheckTx(_ context.Context, req *abcitypes.RequestCheckTx) (*abcitypes.ResponseCheckTx, error)
- func (wa *WrappedApplication) Commit(_ context.Context, _ *abcitypes.RequestCommit) (*abcitypes.ResponseCommit, error)
- func (wa *WrappedApplication) FinalizeBlock(_ context.Context, req *abcitypes.RequestFinalizeBlock) (*abcitypes.ResponseFinalizeBlock, error)
- func (wa *WrappedApplication) Info(_ context.Context, req *abcitypes.RequestInfo) (*abcitypes.ResponseInfo, error)
- func (wa *WrappedApplication) InitChain(_ context.Context, req *abcitypes.RequestInitChain) (*abcitypes.ResponseInitChain, error)
- func (wa *WrappedApplication) Query(ctx context.Context, req *abcitypes.RequestQuery) (*abcitypes.ResponseQuery, error)
- func (wa *WrappedApplication) RollbackToHeight(_ context.Context, targetHeight uint64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMonomerCommand ¶
func AddMonomerCommand(rootCmd *cobra.Command, appCreator servertypes.AppCreator, defaultNodeHome string)
Types ¶
type WrappedApplication ¶
type WrappedApplication struct {
// contains filtered or unexported fields
}
A wrapper around `servertypes.Application` that reconciles discrepancies between the Monomer and Cosmos SDKs. Specifically, the differences that this wrapper reconciles are in their function signatures on the `ABCI` interface.
func (*WrappedApplication) CheckTx ¶
func (wa *WrappedApplication) CheckTx(_ context.Context, req *abcitypes.RequestCheckTx) (*abcitypes.ResponseCheckTx, error)
func (*WrappedApplication) Commit ¶
func (wa *WrappedApplication) Commit(_ context.Context, _ *abcitypes.RequestCommit) (*abcitypes.ResponseCommit, error)
func (*WrappedApplication) FinalizeBlock ¶
func (wa *WrappedApplication) FinalizeBlock( _ context.Context, req *abcitypes.RequestFinalizeBlock, ) (*abcitypes.ResponseFinalizeBlock, error)
func (*WrappedApplication) Info ¶
func (wa *WrappedApplication) Info(_ context.Context, req *abcitypes.RequestInfo) (*abcitypes.ResponseInfo, error)
func (*WrappedApplication) InitChain ¶
func (wa *WrappedApplication) InitChain(_ context.Context, req *abcitypes.RequestInitChain) (*abcitypes.ResponseInitChain, error)
func (*WrappedApplication) Query ¶
func (wa *WrappedApplication) Query(ctx context.Context, req *abcitypes.RequestQuery) (*abcitypes.ResponseQuery, error)
func (*WrappedApplication) RollbackToHeight ¶
func (wa *WrappedApplication) RollbackToHeight(_ context.Context, targetHeight uint64) error
Click to show internal directories.
Click to hide internal directories.