Versions in this module Expand all Collapse all v0 v0.34.24 Sep 22, 2023 Changes in this version + const SubscribeTimeout + var Routes = map[string]*rpc.RPCFunc + func ABCIInfo(ctx *rpctypes.Context) (*ctypes.ResultABCIInfo, error) + func ABCIQuery(ctx *rpctypes.Context, path string, data bytes.HexBytes, height int64, ...) (*ctypes.ResultABCIQuery, error) + func AddUnsafeRoutes() + func Block(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.ResultBlock, error) + func BlockByHash(ctx *rpctypes.Context, hash []byte) (*ctypes.ResultBlock, error) + func BlockResults(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.ResultBlockResults, error) + func BlockSearch(ctx *rpctypes.Context, query string, pagePtr, perPagePtr *int, orderBy string) (*ctypes.ResultBlockSearch, error) + func BlockchainInfo(ctx *rpctypes.Context, minHeight, maxHeight int64) (*ctypes.ResultBlockchainInfo, error) + func BroadcastEvidence(ctx *rpctypes.Context, ev types.Evidence) (*ctypes.ResultBroadcastEvidence, error) + func BroadcastTxAsync(ctx *rpctypes.Context, tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func BroadcastTxCommit(ctx *rpctypes.Context, tx types.Tx) (*ctypes.ResultBroadcastTxCommit, error) + func BroadcastTxSync(ctx *rpctypes.Context, tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func CheckTx(ctx *rpctypes.Context, tx types.Tx) (*ctypes.ResultCheckTx, error) + func Commit(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.ResultCommit, error) + func ConsensusParams(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.ResultConsensusParams, error) + func ConsensusState(ctx *rpctypes.Context) (*ctypes.ResultConsensusState, error) + func DumpConsensusState(ctx *rpctypes.Context) (*ctypes.ResultDumpConsensusState, error) + func Genesis(ctx *rpctypes.Context) (*ctypes.ResultGenesis, error) + func GenesisChunked(ctx *rpctypes.Context, chunk uint) (*ctypes.ResultGenesisChunk, error) + func Health(ctx *rpctypes.Context) (*ctypes.ResultHealth, error) + func InitGenesisChunks() error + func NetInfo(ctx *rpctypes.Context) (*ctypes.ResultNetInfo, error) + func NumUnconfirmedTxs(ctx *rpctypes.Context) (*ctypes.ResultUnconfirmedTxs, error) + func SetEnvironment(e *Environment) + func Status(ctx *rpctypes.Context) (*ctypes.ResultStatus, error) + func Subscribe(ctx *rpctypes.Context, query string) (*ctypes.ResultSubscribe, error) + func Tx(ctx *rpctypes.Context, hash []byte, prove bool) (*ctypes.ResultTx, error) + func TxSearch(ctx *rpctypes.Context, query string, prove bool, pagePtr, perPagePtr *int, ...) (*ctypes.ResultTxSearch, error) + func UnconfirmedTxs(ctx *rpctypes.Context, limitPtr *int) (*ctypes.ResultUnconfirmedTxs, error) + func UnsafeDialPeers(ctx *rpctypes.Context, peers []string, persistent, unconditional, private bool) (*ctypes.ResultDialPeers, error) + func UnsafeDialSeeds(ctx *rpctypes.Context, seeds []string) (*ctypes.ResultDialSeeds, error) + func UnsafeFlushMempool(ctx *rpctypes.Context) (*ctypes.ResultUnsafeFlushMempool, error) + func Unsubscribe(ctx *rpctypes.Context, query string) (*ctypes.ResultUnsubscribe, error) + func UnsubscribeAll(ctx *rpctypes.Context) (*ctypes.ResultUnsubscribe, error) + func Validators(ctx *rpctypes.Context, heightPtr *int64, pagePtr, perPagePtr *int) (*ctypes.ResultValidators, error) + 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 *consensus.Reactor + 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