Versions in this module Expand all Collapse all v0 v0.38.78 Jul 18, 2023 v0.38.77 Jul 18, 2023 Changes in this version + const SubscribeTimeout + type Consensus interface + GetLastHeight func() int64 + GetRoundStateJSON func() ([]byte, error) + GetRoundStateSimpleJSON func() ([]byte, error) + GetState func() sm.State + GetValidators func() (int64, []*types.Validator) + type Environment struct + BlockIndexer indexer.BlockIndexer + BlockStore sm.BlockStore + Config cfg.RPCConfig + ConsensusReactor consensusReactor + ConsensusState Consensus + EventBus *types.EventBus + EvidencePool sm.EvidencePool + GenDoc *types.GenesisDoc + Logger log.Logger + Mempool mempl.Mempool + P2PPeers peers + P2PTransport transport + ProxyAppMempool proxy.AppConnMempool + ProxyAppQuery proxy.AppConnQuery + PubKey crypto.PubKey + StateStore sm.Store + TxIndexer txindex.TxIndexer + func (env *Environment) ABCIInfo(_ *rpctypes.Context) (*ctypes.ResultABCIInfo, error) + func (env *Environment) ABCIQuery(_ *rpctypes.Context, path string, data bytes.HexBytes, height int64, ...) (*ctypes.ResultABCIQuery, error) + func (env *Environment) AddUnsafeRoutes(routes RoutesMap) + func (env *Environment) Block(_ *rpctypes.Context, heightPtr *int64) (*ctypes.ResultBlock, error) + func (env *Environment) BlockByHash(_ *rpctypes.Context, hash []byte) (*ctypes.ResultBlock, error) + func (env *Environment) BlockResults(_ *rpctypes.Context, heightPtr *int64) (*ctypes.ResultBlockResults, error) + func (env *Environment) BlockSearch(ctx *rpctypes.Context, query string, pagePtr, perPagePtr *int, orderBy string) (*ctypes.ResultBlockSearch, error) + func (env *Environment) BlockchainInfo(_ *rpctypes.Context, minHeight, maxHeight int64) (*ctypes.ResultBlockchainInfo, error) + func (env *Environment) BroadcastEvidence(_ *rpctypes.Context, ev types.Evidence) (*ctypes.ResultBroadcastEvidence, error) + func (env *Environment) BroadcastTxAsync(_ *rpctypes.Context, tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func (env *Environment) BroadcastTxCommit(ctx *rpctypes.Context, tx types.Tx) (*ctypes.ResultBroadcastTxCommit, error) + func (env *Environment) BroadcastTxSync(ctx *rpctypes.Context, tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func (env *Environment) CheckTx(_ *rpctypes.Context, tx types.Tx) (*ctypes.ResultCheckTx, error) + func (env *Environment) Commit(_ *rpctypes.Context, heightPtr *int64) (*ctypes.ResultCommit, error) + func (env *Environment) ConsensusParams(_ *rpctypes.Context, heightPtr *int64) (*ctypes.ResultConsensusParams, error) + func (env *Environment) DumpConsensusState(*rpctypes.Context) (*ctypes.ResultDumpConsensusState, error) + func (env *Environment) Genesis(*rpctypes.Context) (*ctypes.ResultGenesis, error) + func (env *Environment) GenesisChunked(_ *rpctypes.Context, chunk uint) (*ctypes.ResultGenesisChunk, error) + func (env *Environment) GetConsensusState(*rpctypes.Context) (*ctypes.ResultConsensusState, error) + func (env *Environment) GetRoutes() RoutesMap + func (env *Environment) Header(_ *rpctypes.Context, heightPtr *int64) (*ctypes.ResultHeader, error) + func (env *Environment) HeaderByHash(_ *rpctypes.Context, hash bytes.HexBytes) (*ctypes.ResultHeader, error) + func (env *Environment) Health(*rpctypes.Context) (*ctypes.ResultHealth, error) + func (env *Environment) InitGenesisChunks() error + func (env *Environment) NetInfo(*rpctypes.Context) (*ctypes.ResultNetInfo, error) + func (env *Environment) NumUnconfirmedTxs(*rpctypes.Context) (*ctypes.ResultUnconfirmedTxs, error) + func (env *Environment) Status(*rpctypes.Context) (*ctypes.ResultStatus, error) + func (env *Environment) Subscribe(ctx *rpctypes.Context, query string) (*ctypes.ResultSubscribe, error) + func (env *Environment) Tx(_ *rpctypes.Context, hash []byte, prove bool) (*ctypes.ResultTx, error) + func (env *Environment) TxSearch(ctx *rpctypes.Context, query string, prove bool, pagePtr, perPagePtr *int, ...) (*ctypes.ResultTxSearch, error) + func (env *Environment) UnconfirmedTxs(_ *rpctypes.Context, limitPtr *int) (*ctypes.ResultUnconfirmedTxs, error) + func (env *Environment) UnsafeDialPeers(_ *rpctypes.Context, peers []string, persistent, unconditional, private bool) (*ctypes.ResultDialPeers, error) + func (env *Environment) UnsafeDialSeeds(_ *rpctypes.Context, seeds []string) (*ctypes.ResultDialSeeds, error) + func (env *Environment) UnsafeFlushMempool(*rpctypes.Context) (*ctypes.ResultUnsafeFlushMempool, error) + func (env *Environment) Unsubscribe(ctx *rpctypes.Context, query string) (*ctypes.ResultUnsubscribe, error) + func (env *Environment) UnsubscribeAll(ctx *rpctypes.Context) (*ctypes.ResultUnsubscribe, error) + func (env *Environment) Validators(_ *rpctypes.Context, heightPtr *int64, pagePtr, perPagePtr *int) (*ctypes.ResultValidators, error) + type RoutesMap map[string]*rpc.RPCFunc