Versions in this module Expand all Collapse all v0 v0.1.3 Sep 18, 2023 v0.1.1 Sep 18, 2023 Changes in this version + const Paramspace + const QueryPathApp + const QueryPathCustom + const QueryPathP2P + const QueryPathStore + 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 SetIAVLCacheSize(size int) func(*BaseApp) + func SetIAVLDisableFastNode(disable bool) func(*BaseApp) + func SetIAVLLazyLoading(lazyLoading bool) 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 pruningtypes.PruningOptions) func(*BaseApp) + func SetSnapshot(snapshotStore *snapshots.Store, opts snapshottypes.SnapshotOptions) func(*BaseApp) + func SetTrace(trace bool) func(*BaseApp) + func SplitABCIQueryPath(requestPath string) (path []string) + func ValidateBlockParams(i interface{}) error + func ValidateEvidenceParams(i interface{}) error + func ValidateValidatorParams(i interface{}) error + type ABCIListener interface + ListenBeginBlock func(ctx context.Context, req abci.RequestBeginBlock, res abci.ResponseBeginBlock) error + ListenCommit func(ctx context.Context, res abci.ResponseCommit) error + ListenDeliverTx func(ctx context.Context, req abci.RequestDeliverTx, res abci.ResponseDeliverTx) error + ListenEndBlock func(ctx context.Context, req abci.RequestEndBlock, res abci.ResponseEndBlock) 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() uint64 + func (app *BaseApp) ApplySnapshotChunk(req abci.RequestApplySnapshotChunk) abci.ResponseApplySnapshotChunk + func (app *BaseApp) BeginBlock(req abci.RequestBeginBlock) (res abci.ResponseBeginBlock) + func (app *BaseApp) CheckTx(req abci.RequestCheckTx) abci.ResponseCheckTx + func (app *BaseApp) Close() error + func (app *BaseApp) Commit() abci.ResponseCommit + func (app *BaseApp) CommitMultiStore() sdk.CommitMultiStore + func (app *BaseApp) DeliverTx(req abci.RequestDeliverTx) (res abci.ResponseDeliverTx) + func (app *BaseApp) EndBlock(req abci.RequestEndBlock) (res abci.ResponseEndBlock) + func (app *BaseApp) FilterPeerByAddrPort(info string) abci.ResponseQuery + func (app *BaseApp) FilterPeerByID(info string) abci.ResponseQuery + func (app *BaseApp) GRPCQueryRouter() *GRPCQueryRouter + func (app *BaseApp) GetBlockRetentionHeight(commitHeight int64) int64 + func (app *BaseApp) GetConsensusParams(ctx sdk.Context) *abci.ConsensusParams + func (app *BaseApp) GetContextForDeliverTx(txBytes []byte) sdk.Context + func (app *BaseApp) Info(req abci.RequestInfo) abci.ResponseInfo + func (app *BaseApp) Init() error + func (app *BaseApp) InitChain(req abci.RequestInitChain) (res abci.ResponseInitChain) + func (app *BaseApp) IsSealed() bool + func (app *BaseApp) LastBlockHeight() int64 + func (app *BaseApp) LastCommitID() storetypes.CommitID + func (app *BaseApp) ListSnapshots(req abci.RequestListSnapshots) abci.ResponseListSnapshots + func (app *BaseApp) LoadLatestVersion() error + func (app *BaseApp) LoadSnapshotChunk(req abci.RequestLoadSnapshotChunk) abci.ResponseLoadSnapshotChunk + func (app *BaseApp) LoadVersion(version int64) error + func (app *BaseApp) Logger() log.Logger + func (app *BaseApp) MountKVStores(keys map[string]*storetypes.KVStoreKey) + func (app *BaseApp) MountMemoryStores(keys map[string]*storetypes.MemoryStoreKey) + func (app *BaseApp) MountStore(key storetypes.StoreKey, typ storetypes.StoreType) + func (app *BaseApp) MountStores(keys ...storetypes.StoreKey) + func (app *BaseApp) MountTransientStores(keys map[string]*storetypes.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 abci.RequestOfferSnapshot) abci.ResponseOfferSnapshot + func (app *BaseApp) Query(req abci.RequestQuery) (res abci.ResponseQuery) + func (app *BaseApp) QueryRouter() sdk.QueryRouter + func (app *BaseApp) RegisterGRPCServer(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) SetBeginBlocker(beginBlocker sdk.BeginBlocker) + func (app *BaseApp) SetCMS(cms store.CommitMultiStore) + func (app *BaseApp) SetCircuitBreaker(cb CircuitBreaker) + 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) SetMsgServiceRouter(msgServiceRouter *MsgServiceRouter) + func (app *BaseApp) SetName(name string) + func (app *BaseApp) SetOption(req abci.RequestSetOption) (res abci.ResponseSetOption) + func (app *BaseApp) SetParamStore(ps ParamStore) + func (app *BaseApp) SetPostHandler(ph sdk.AnteHandler) + func (app *BaseApp) SetProtocolVersion(v uint64) + func (app *BaseApp) SetQueryMultiStore(ms sdk.MultiStore) + func (app *BaseApp) SetRouter(router sdk.Router) + func (app *BaseApp) SetSnapshot(snapshotStore *snapshots.Store, opts snapshottypes.SnapshotOptions) + func (app *BaseApp) SetStoreLoader(loader StoreLoader) + func (app *BaseApp) SetStreamingService(s StreamingService) + func (app *BaseApp) SetVersion(v string) + func (app *BaseApp) SimCheck(txEncoder sdk.TxEncoder, tx sdk.Tx) (sdk.GasInfo, *sdk.Result, error) + func (app *BaseApp) SimDeliver(txEncoder sdk.TxEncoder, tx sdk.Tx) (sdk.GasInfo, *sdk.Result, error) + func (app *BaseApp) Simulate(txBytes []byte) (sdk.GasInfo, *sdk.Result, error) + func (app *BaseApp) SnapshotManager() *snapshots.Manager + func (app *BaseApp) StoreConsensusParams(ctx sdk.Context, cp *abci.ConsensusParams) + func (app *BaseApp) Trace() bool + func (app *BaseApp) Version() string + type CircuitBreaker interface + IsAllowed func(ctx context.Context, typeURL string) (bool, error) + type GRPCQueryHandler = func(ctx sdk.Context, req abci.RequestQuery) (abci.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.Msg) (*sdk.Result, error) + type MsgServiceRouter struct + func NewMsgServiceRouter() *MsgServiceRouter + func (msr *MsgServiceRouter) Handler(msg sdk.Msg) MsgServiceHandler + func (msr *MsgServiceRouter) HandlerByTypeURL(typeURL string) MsgServiceHandler + func (msr *MsgServiceRouter) RegisterService(sd *grpc.ServiceDesc, handler interface{}) + func (msr *MsgServiceRouter) SetCircuit(cb CircuitBreaker) + 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(route 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 + type StreamingService interface + Listeners func() map[store.StoreKey][]store.WriteListener + Stream func(wg *sync.WaitGroup) error