Versions in this module Expand all Collapse all v0 v0.8.14 Sep 15, 2021 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 + BlockStore sm.BlockStore + Config cfg.RPCConfig + ConsensusReactor *consensus.Reactor + ConsensusState Consensus + EventBus *types.EventBus + EventSinks []indexer.EventSink + EvidencePool sm.EvidencePool + FastSyncReactor consensus.FastSyncReactor + 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 + func (env *Environment) ABCIInfo(ctx *rpctypes.Context) (*ctypes.ResultABCIInfo, error) + func (env *Environment) ABCIQuery(ctx *rpctypes.Context, path string, data bytes.HexBytes, height int64, ...) (*ctypes.ResultABCIQuery, error) + func (env *Environment) AddUnsafe(routes RoutesMap) + func (env *Environment) Block(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.ResultBlock, error) + func (env *Environment) BlockByHash(ctx *rpctypes.Context, hash []byte) (*ctypes.ResultBlock, error) + func (env *Environment) BlockResults(ctx *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(ctx *rpctypes.Context, minHeight, maxHeight int64) (*ctypes.ResultBlockchainInfo, error) + func (env *Environment) BroadcastEvidence(ctx *rpctypes.Context, ev types.Evidence) (*ctypes.ResultBroadcastEvidence, error) + func (env *Environment) BroadcastTxAsync(ctx *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(ctx *rpctypes.Context, tx types.Tx) (*ctypes.ResultCheckTx, error) + func (env *Environment) Commit(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.ResultCommit, error) + func (env *Environment) ConsensusParams(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.ResultConsensusParams, error) + func (env *Environment) DumpConsensusState(ctx *rpctypes.Context) (*ctypes.ResultDumpConsensusState, error) + func (env *Environment) Genesis(ctx *rpctypes.Context) (*ctypes.ResultGenesis, error) + func (env *Environment) GenesisChunked(ctx *rpctypes.Context, chunk uint) (*ctypes.ResultGenesisChunk, error) + func (env *Environment) GetConsensusState(ctx *rpctypes.Context) (*ctypes.ResultConsensusState, error) + func (env *Environment) GetRoutes() RoutesMap + func (env *Environment) Health(ctx *rpctypes.Context) (*ctypes.ResultHealth, error) + func (env *Environment) InitGenesisChunks() error + func (env *Environment) NetInfo(ctx *rpctypes.Context) (*ctypes.ResultNetInfo, error) + func (env *Environment) NumUnconfirmedTxs(ctx *rpctypes.Context) (*ctypes.ResultUnconfirmedTxs, error) + func (env *Environment) Status(ctx *rpctypes.Context) (*ctypes.ResultStatus, error) + func (env *Environment) Subscribe(ctx *rpctypes.Context, query string) (*ctypes.ResultSubscribe, error) + func (env *Environment) Tx(ctx *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(ctx *rpctypes.Context, limitPtr *int) (*ctypes.ResultUnconfirmedTxs, error) + func (env *Environment) UnsafeDialPeers(ctx *rpctypes.Context, peers []string, persistent, unconditional, private bool) (*ctypes.ResultDialPeers, error) + func (env *Environment) UnsafeDialSeeds(ctx *rpctypes.Context, seeds []string) (*ctypes.ResultDialSeeds, error) + func (env *Environment) UnsafeFlushMempool(ctx *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(ctx *rpctypes.Context, heightPtr *int64, pagePtr, perPagePtr *int) (*ctypes.ResultValidators, error) + type RoutesMap map[string]*rpc.RPCFunc