Documentation ¶
Index ¶
- type Peer
- type ResultABCIInfo
- type ResultABCIQuery
- type ResultBlock
- type ResultBlockResults
- type ResultBlockchainInfo
- type ResultBroadcastTx
- type ResultBroadcastTxCommit
- type ResultCommit
- type ResultDialSeeds
- type ResultDumpConsensusState
- type ResultEvent
- type ResultGenesis
- type ResultNetInfo
- type ResultStatus
- type ResultSubscribe
- type ResultTx
- type ResultUnconfirmedTxs
- type ResultUnsafeFlushMempool
- type ResultUnsafeProfile
- type ResultUnsubscribe
- type ResultValidators
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Peer ¶
type Peer struct { p2p.NodeInfo `json:"node_info"` IsOutbound bool `json:"is_outbound"` ConnectionStatus p2p.ConnectionStatus `json:"connection_status"` }
type ResultABCIInfo ¶
type ResultABCIInfo struct {
Response abci.ResponseInfo `json:"response"`
}
type ResultABCIQuery ¶
type ResultABCIQuery struct {
Response abci.ResponseQuery `json:"response"`
}
type ResultBlock ¶
type ResultBlockResults ¶
type ResultBlockResults struct { Height int64 `json:"height"` Results *state.ABCIResponses `json:"results"` }
type ResultBlockchainInfo ¶
type ResultBroadcastTx ¶
type ResultBroadcastTxCommit ¶
type ResultBroadcastTxCommit struct { CheckTx abci.ResponseCheckTx `json:"check_tx"` DeliverTx abci.ResponseDeliverTx `json:"deliver_tx"` Hash data.Bytes `json:"hash"` Height int64 `json:"height"` }
type ResultCommit ¶
type ResultCommit struct { // SignedHeader is header and commit, embedded so we only have // one level in the json output types.SignedHeader CanonicalCommit bool `json:"canonical"` }
func NewResultCommit ¶
NewResultCommit is a helper to initialize the ResultCommit with the embedded struct
type ResultDialSeeds ¶
type ResultDialSeeds struct {
Log string `json:"log"`
}
type ResultDumpConsensusState ¶
type ResultDumpConsensusState struct { RoundState *cstypes.RoundState `json:"round_state"` PeerRoundStates map[string]*cstypes.PeerRoundState `json:"peer_round_states"` }
type ResultEvent ¶
type ResultEvent struct { Query string `json:"query"` Data types.TMEventData `json:"data"` }
type ResultGenesis ¶
type ResultGenesis struct {
Genesis *types.GenesisDoc `json:"genesis"`
}
type ResultNetInfo ¶
type ResultStatus ¶
type ResultStatus struct { NodeInfo *p2p.NodeInfo `json:"node_info"` PubKey crypto.PubKey `json:"pub_key"` LatestBlockHash data.Bytes `json:"latest_block_hash"` LatestAppHash data.Bytes `json:"latest_app_hash"` LatestBlockHeight int64 `json:"latest_block_height"` LatestBlockTime time.Time `json:"latest_block_time"` Syncing bool `json:"syncing"` }
func (*ResultStatus) TxIndexEnabled ¶
func (s *ResultStatus) TxIndexEnabled() bool
type ResultSubscribe ¶
type ResultSubscribe struct{}
type ResultUnconfirmedTxs ¶
type ResultUnsafeFlushMempool ¶
type ResultUnsafeFlushMempool struct{}
type ResultUnsafeProfile ¶
type ResultUnsafeProfile struct{}
type ResultUnsubscribe ¶
type ResultUnsubscribe struct{}
type ResultValidators ¶
Click to show internal directories.
Click to hide internal directories.