Versions in this module Expand all Collapse all v0 v0.1.1 May 14, 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 BlockInfo(ctx *rpctypes.Context, heightPtr *int64) (*types.BlockMeta, 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 CM40Block(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.CM40ResultBlock, error) + func Commit(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.ResultCommit, error) + func CommitIBC(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.IBCResultCommit, error) + func ConsensusParams(ctx *rpctypes.Context, heightPtr *int64) (*ctypes.ResultConsensusParams, error) + func ConsensusState(ctx *rpctypes.Context) (*ctypes.ResultConsensusState, error) + func ConvBlock2CM40Block(r *types.Block) *types.CM40Block + func ConvBlockID2CM40BlockID(r types.BlockID) types.IBCBlockID + func ConvCommitToIBCCommit(hh *types.Header, h *types.Commit) *types.IBCCommit + func ConvEventBlock2CM40Event(block types.EventDataNewBlock) types.CM40EventDataNewBlock + func ConvHeadersToIbcHeader(h *types.Header) *types.IBCHeader + func ConvResultCommitTOIBC(r *coretypes.ResultCommit) *coretypes.IBCResultCommit + func ConvSignheaderToIBCSignHeader(h *types.SignedHeader) *types.IBCSignedHeader + func DumpConsensusState(ctx *rpctypes.Context) (*ctypes.ResultDumpConsensusState, error) + func Genesis(ctx *rpctypes.Context) (*ctypes.ResultGenesis, error) + func GetAddressList() (*ctypes.ResultUnconfirmedAddresses, error) + func GetEnableDeleteMinGPTx(ctx *rpctypes.Context) (*ctypes.ResultEnableDeleteMinGPTx, error) + func GetPendingNonce(address string) (*ctypes.ResultPendingNonce, bool) + func GetUnconfirmedTxByHash(hash [sha256.Size]byte) (types.Tx, error) + func Health(ctx *rpctypes.Context) (*ctypes.ResultHealth, error) + func LatestBlockNumber() (int64, 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, page, perPage int, ...) (*ctypes.ResultTxSearch, error) + func TxSimulateGasCost(ctx *rpctypes.Context, hash string) (*ctypes.ResponseTxSimulateGas, 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 UserNumUnconfirmedTxs(address string) (*ctypes.ResultUserUnconfirmedTxs, error) + func UserUnconfirmedTxs(address string, limit int) (*ctypes.ResultUserUnconfirmedTxs, error) + func Validators(ctx *rpctypes.Context, heightPtr *int64, page, perPage 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 blockindex.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 + ProxyAppQuery proxy.AppConnQuery + PubKey crypto.PubKey + StateDB dbm.DB + TxIndexer txindex.TxIndexer