Versions in this module Expand all Collapse all v0 v0.9.0 Oct 19, 2020 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 cmn.HexBytes, height int64, ...) (*ctypes.ResultABCIQuery, error) + func AddUnsafeRoutes() + func Block(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.ResultBlock, error) + func BlockResults(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.ResultBlockResults, 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 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 Health(ctx *rpctypes.Context) (*ctypes.ResultHealth, error) + func NetInfo(ctx *rpctypes.Context) (*ctypes.ResultNetInfo, error) + func NumUnconfirmedTxs(ctx *rpctypes.Context) (*ctypes.ResultUnconfirmedTxs, error) + func SetAddrBook(book p2p.AddrBook) + func SetBlockStore(bs sm.BlockStore) + func SetConfig(c cfg.RPCConfig) + func SetConsensusReactor(conR *consensus.ConsensusReactor) + func SetConsensusState(cs Consensus) + func SetEventBus(b *types.EventBus) + func SetEvidencePool(evpool sm.EvidencePool) + func SetGenesisDoc(doc *types.GenesisDoc) + func SetLogger(l log.Logger) + func SetMempool(mem mempl.Mempool) + func SetP2PPeers(p peers) + func SetP2PTransport(t transport) + func SetProxyAppQuery(appConn proxy.AppConnQuery) + func SetPubKey(pk crypto.PubKey) + func SetStateDB(db dbm.DB) + func SetTxIndexer(indexer txindex.TxIndexer) + 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, page, perPage int) (*ctypes.ResultTxSearch, error) + func UnconfirmedTxs(ctx *rpctypes.Context, limit int) (*ctypes.ResultUnconfirmedTxs, error) + func UnsafeDialPeers(ctx *rpctypes.Context, peers []string, persistent bool) (*ctypes.ResultDialPeers, error) + func UnsafeDialSeeds(ctx *rpctypes.Context, seeds []string) (*ctypes.ResultDialSeeds, error) + func UnsafeFlushMempool(ctx *rpctypes.Context) (*ctypes.ResultUnsafeFlushMempool, error) + func UnsafeStartCPUProfiler(ctx *rpctypes.Context, filename string) (*ctypes.ResultUnsafeProfile, error) + func UnsafeStopCPUProfiler(ctx *rpctypes.Context) (*ctypes.ResultUnsafeProfile, error) + func UnsafeWriteHeapProfile(ctx *rpctypes.Context, filename string) (*ctypes.ResultUnsafeProfile, 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) (*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)