Versions in this module Expand all Collapse all v0 v0.8.14 Sep 15, 2021 Changes in this version + var ErrHeightExceedsChainHead = errors.New("height must be less than or equal to the head of the node's blockchain") + var ErrHeightNotAvailable = errors.New("height is not available") + var ErrInvalidRequest = errors.New("invalid request") + var ErrPageOutOfRange = errors.New("page should be within range") + var ErrZeroOrNegativeHeight = errors.New("height must be greater than zero") + var ErrZeroOrNegativePerPage = errors.New("zero or negative per_page") + type Peer struct + ConnectionStatus p2p.ConnectionStatus + IsOutbound bool + NodeInfo types.NodeInfo + RemoteIP string + type PeerStateInfo struct + NodeAddress string + PeerState json.RawMessage + type ResultABCIInfo struct + Response abci.ResponseInfo + type ResultABCIQuery struct + Response abci.ResponseQuery + type ResultBlock struct + Block *types.Block + BlockID types.BlockID + type ResultBlockResults struct + BeginBlockEvents []abci.Event + ConsensusParamUpdates *tmproto.ConsensusParams + EndBlockEvents []abci.Event + Height int64 + TotalGasUsed int64 + TxsResults []*abci.ResponseDeliverTx + ValidatorUpdates []abci.ValidatorUpdate + type ResultBlockSearch struct + Blocks []*ResultBlock + TotalCount int + type ResultBlockchainInfo struct + BlockMetas []*types.BlockMeta + LastHeight int64 + type ResultBroadcastEvidence struct + Hash []byte + type ResultBroadcastTx struct + Code uint32 + Codespace string + Data bytes.HexBytes + Hash bytes.HexBytes + Log string + MempoolError string + type ResultBroadcastTxCommit struct + CheckTx abci.ResponseCheckTx + DeliverTx abci.ResponseDeliverTx + Hash bytes.HexBytes + Height int64 + type ResultCheckTx struct + type ResultCommit struct + CanonicalCommit bool + func NewResultCommit(header *types.Header, commit *types.Commit, canonical bool) *ResultCommit + type ResultConsensusParams struct + BlockHeight int64 + ConsensusParams types.ConsensusParams + type ResultConsensusState struct + RoundState json.RawMessage + type ResultDialPeers struct + Log string + type ResultDialSeeds struct + Log string + type ResultDumpConsensusState struct + Peers []PeerStateInfo + RoundState json.RawMessage + type ResultEvent struct + Data types.TMEventData + Events []abci.Event + Query string + SubscriptionID string + type ResultGenesis struct + Genesis *types.GenesisDoc + type ResultGenesisChunk struct + ChunkNumber int + Data string + TotalChunks int + type ResultHealth struct + type ResultNetInfo struct + Listeners []string + Listening bool + NPeers int + Peers []Peer + type ResultStatus struct + NodeInfo types.NodeInfo + SyncInfo SyncInfo + ValidatorInfo ValidatorInfo + func (s *ResultStatus) TxIndexEnabled() bool + type ResultSubscribe struct + type ResultTx struct + Hash bytes.HexBytes + Height int64 + Index uint32 + Proof types.TxProof + Tx types.Tx + TxResult abci.ResponseDeliverTx + type ResultTxSearch struct + TotalCount int + Txs []*ResultTx + type ResultUnconfirmedTxs struct + Count int + Total int + TotalBytes int64 + Txs []types.Tx + type ResultUnsafeFlushMempool struct + type ResultUnsafeProfile struct + type ResultUnsubscribe struct + type ResultValidators struct + BlockHeight int64 + Count int + Total int + Validators []*types.Validator + type SyncInfo struct + CatchingUp bool + EarliestAppHash bytes.HexBytes + EarliestBlockHash bytes.HexBytes + EarliestBlockHeight int64 + EarliestBlockTime time.Time + LatestAppHash bytes.HexBytes + LatestBlockHash bytes.HexBytes + LatestBlockHeight int64 + LatestBlockTime time.Time + MaxPeerBlockHeight int64 + RemainingTime time.Duration + TotalSyncedTime time.Duration + type ValidatorInfo struct + Address bytes.HexBytes + PubKey crypto.PubKey + VotingPower int64