Versions in this module Expand all Collapse all v1 v1.0.0 Nov 17, 2022 Changes in this version + const Paramspace + var ParamStoreKeyBlockParams = []byte("BlockParams") + var ParamStoreKeyEvidenceParams = []byte("EvidenceParams") + var ParamStoreKeyValidatorParams = []byte("ValidatorParams") + func DefaultStoreLoader(ms sdk.CommitMultiStore) error + func SetHaltHeight(blockHeight uint64) func(*BaseApp) + func SetHaltTime(haltTime uint64) func(*BaseApp) + func SetIndexEvents(ie []string) func(*BaseApp) + func SetInterBlockCache(cache sdk.MultiStorePersistentCache) func(*BaseApp) + func SetMinGasPrices(gasPricesStr string) func(*BaseApp) + func SetMinRetainBlocks(minRetainBlocks uint64) func(*BaseApp) + func SetPruning(opts sdk.PruningOptions) func(*BaseApp) + func SetSnapshotInterval(interval uint64) func(*BaseApp) + func SetSnapshotKeepRecent(keepRecent uint32) func(*BaseApp) + func SetSnapshotStore(snapshotStore *snapshots.Store) func(*BaseApp) + func SetTrace(trace bool) func(*BaseApp) + func ValidateBlockParams(i interface{}) error + func ValidateEvidenceParams(i interface{}) error + func ValidateValidatorParams(i interface{}) error + type BaseApp struct + func NewBaseApp(name string, logger log.Logger, db dbm.DB, txDecoder sdk.TxDecoder, ...) *BaseApp + func (app *BaseApp) AddRunTxRecoveryHandler(handlers ...RecoveryHandler) + func (app *BaseApp) AppVersion() string + func (app *BaseApp) ApplySnapshotChunk(req msm.RequestApplySnapshotChunk) msm.ResponseApplySnapshotChunk + func (app *BaseApp) BeginBlock(req msm.RequestBeginBlock) (res msm.ResponseBeginBlock) + func (app *BaseApp) Check(txEncoder sdk.TxEncoder, tx sdk.Tx) (sdk.GasInfo, *sdk.Result, error) + func (app *BaseApp) CheckTx(req msm.RequestCheckTx) msm.ResponseCheckTx + func (app *BaseApp) Commit() (res msm.ResponseCommit) + func (app *BaseApp) Deliver(txEncoder sdk.TxEncoder, tx sdk.Tx) (sdk.GasInfo, *sdk.Result, error) + func (app *BaseApp) DeliverTx(req msm.RequestDeliverTx) msm.ResponseDeliverTx + func (app *BaseApp) EndBlock(req msm.RequestEndBlock) (res msm.ResponseEndBlock) + func (app *BaseApp) FilterPeerByAddrPort(info string) msm.ResponseQuery + func (app *BaseApp) FilterPeerByID(info string) msm.ResponseQuery + func (app *BaseApp) GRPCQueryRouter() *GRPCQueryRouter + func (app *BaseApp) GetBlockRetentionHeight(commitHeight int64) int64 + func (app *BaseApp) GetConsensusParams(ctx sdk.Context) *msm.ConsensusParams + func (app *BaseApp) Info(req msm.RequestInfo) msm.ResponseInfo + func (app *BaseApp) InitChain(req msm.RequestInitChain) (res msm.ResponseInitChain) + func (app *BaseApp) IsSealed() bool + func (app *BaseApp) LastBlockHeight() int64 + func (app *BaseApp) LastCommitID() sdk.CommitID + func (app *BaseApp) ListSnapshots(req msm.RequestListSnapshots) msm.ResponseListSnapshots + func (app *BaseApp) LoadLatestVersion() error + func (app *BaseApp) LoadSnapshotChunk(req msm.RequestLoadSnapshotChunk) msm.ResponseLoadSnapshotChunk + func (app *BaseApp) LoadVersion(version int64) error + func (app *BaseApp) Logger() log.Logger + func (app *BaseApp) MountKVStores(keys map[string]*sdk.KVStoreKey) + func (app *BaseApp) MountMemoryStores(keys map[string]*sdk.MemoryStoreKey) + func (app *BaseApp) MountStore(key sdk.StoreKey, typ sdk.StoreType) + func (app *BaseApp) MountStores(keys ...sdk.StoreKey) + func (app *BaseApp) MountTransientStores(keys map[string]*sdk.TransientStoreKey) + func (app *BaseApp) MsgServiceRouter() *MsgServiceRouter + func (app *BaseApp) Name() string + func (app *BaseApp) NewContext(isCheckTx bool, header tmproto.Header) sdk.Context + func (app *BaseApp) NewUncachedContext(isCheckTx bool, header tmproto.Header) sdk.Context + func (app *BaseApp) OfferSnapshot(req msm.RequestOfferSnapshot) msm.ResponseOfferSnapshot + func (app *BaseApp) Query(req msm.RequestQuery) (res msm.ResponseQuery) + func (app *BaseApp) QueryRouter() sdk.QueryRouter + func (app *BaseApp) RegisterGRPCServer(clientCtx client.Context, server gogogrpc.Server) + func (app *BaseApp) Router() sdk.Router + func (app *BaseApp) Seal() + func (app *BaseApp) SetAddrPeerFilter(pf sdk.PeerFilter) + func (app *BaseApp) SetAnteHandler(ah sdk.AnteHandler) + func (app *BaseApp) SetAppVersion(v string) + func (app *BaseApp) SetBeginBlocker(beginBlocker sdk.BeginBlocker) + func (app *BaseApp) SetCMS(cms store.CommitMultiStore) + func (app *BaseApp) SetCommitMultiStoreTracer(w io.Writer) + func (app *BaseApp) SetDB(db dbm.DB) + func (app *BaseApp) SetEndBlocker(endBlocker sdk.EndBlocker) + func (app *BaseApp) SetFauxMerkleMode() + func (app *BaseApp) SetIDPeerFilter(pf sdk.PeerFilter) + func (app *BaseApp) SetInitChainer(initChainer sdk.InitChainer) + func (app *BaseApp) SetInterfaceRegistry(registry types.InterfaceRegistry) + func (app *BaseApp) SetName(name string) + func (app *BaseApp) SetOption(req msm.RequestSetOption) (res msm.ResponseSetOption) + func (app *BaseApp) SetParamStore(ps ParamStore) + func (app *BaseApp) SetRouter(router sdk.Router) + func (app *BaseApp) SetSnapshotInterval(snapshotInterval uint64) + func (app *BaseApp) SetSnapshotKeepRecent(snapshotKeepRecent uint32) + func (app *BaseApp) SetSnapshotStore(snapshotStore *snapshots.Store) + func (app *BaseApp) SetStoreLoader(loader StoreLoader) + func (app *BaseApp) Simulate(txBytes []byte) (sdk.GasInfo, *sdk.Result, error) + func (app *BaseApp) StoreConsensusParams(ctx sdk.Context, cp *msm.ConsensusParams) + type GRPCQueryHandler = func(ctx sdk.Context, req msm.RequestQuery) (msm.ResponseQuery, error) + type GRPCQueryRouter struct + func NewGRPCQueryRouter() *GRPCQueryRouter + func (qrt *GRPCQueryRouter) RegisterService(sd *grpc.ServiceDesc, handler interface{}) + func (qrt *GRPCQueryRouter) Route(path string) GRPCQueryHandler + func (qrt *GRPCQueryRouter) SetInterfaceRegistry(interfaceRegistry codectypes.InterfaceRegistry) + type MsgServiceHandler = func(ctx sdk.Context, req sdk.MsgRequest) (*sdk.Result, error) + type MsgServiceRouter struct + func NewMsgServiceRouter() *MsgServiceRouter + func (msr *MsgServiceRouter) Handler(methodName string) MsgServiceHandler + func (msr *MsgServiceRouter) RegisterService(sd *grpc.ServiceDesc, handler interface{}) + func (msr *MsgServiceRouter) SetInterfaceRegistry(interfaceRegistry codectypes.InterfaceRegistry) + type ParamStore interface + Get func(ctx sdk.Context, key []byte, ptr interface{}) + Has func(ctx sdk.Context, key []byte) bool + Set func(ctx sdk.Context, key []byte, param interface{}) + type QueryRouter struct + func NewQueryRouter() *QueryRouter + func (qrt *QueryRouter) AddRoute(path string, q sdk.Querier) sdk.QueryRouter + func (qrt *QueryRouter) Route(path string) sdk.Querier + type QueryServiceTestHelper struct + Ctx sdk.Context + func NewQueryServerTestHelper(ctx sdk.Context, interfaceRegistry types.InterfaceRegistry) *QueryServiceTestHelper + func (q *QueryServiceTestHelper) Invoke(_ gocontext.Context, method string, args, reply interface{}, ...) error + func (q *QueryServiceTestHelper) NewStream(gocontext.Context, *grpc.StreamDesc, string, ...grpc.CallOption) (grpc.ClientStream, error) + type RecoveryHandler func(recoveryObj interface{}) error + type Router struct + func NewRouter() *Router + func (rtr *Router) AddRoute(route sdk.Route) sdk.Router + func (rtr *Router) Route(_ sdk.Context, path string) sdk.Handler + type StoreLoader func(ms sdk.CommitMultiStore) error