Documentation ¶
Index ¶
- Constants
- type Peer
- type ResultABCIInfo
- type ResultABCIQuery
- type ResultBlock
- type ResultBlockchainInfo
- type ResultBroadcastTx
- type ResultBroadcastTxCommit
- type ResultDialSeeds
- type ResultDumpConsensusState
- type ResultEvent
- type ResultGenesis
- type ResultNetInfo
- type ResultStatus
- type ResultSubscribe
- type ResultUnconfirmedTxs
- type ResultUnsafeFlushMempool
- type ResultUnsafeProfile
- type ResultUnsafeSetConfig
- type ResultUnsubscribe
- type ResultValidators
- type TMResult
Constants ¶
View Source
const ( // 0x0 bytes are for the blockchain ResultTypeGenesis = byte(0x01) ResultTypeBlockchainInfo = byte(0x02) ResultTypeBlock = byte(0x03) // 0x2 bytes are for the network ResultTypeStatus = byte(0x20) ResultTypeNetInfo = byte(0x21) ResultTypeDialSeeds = byte(0x22) // 0x4 bytes are for the consensus ResultTypeValidators = byte(0x40) ResultTypeDumpConsensusState = byte(0x41) // 0x6 bytes are for txs / the application ResultTypeBroadcastTx = byte(0x60) ResultTypeUnconfirmedTxs = byte(0x61) ResultTypeBroadcastTxCommit = byte(0x62) // 0x7 bytes are for querying the application ResultTypeABCIQuery = byte(0x70) ResultTypeABCIInfo = byte(0x71) // 0x8 bytes are for events ResultTypeSubscribe = byte(0x80) ResultTypeUnsubscribe = byte(0x81) ResultTypeEvent = byte(0x82) // 0xa bytes for testing ResultTypeUnsafeSetConfig = byte(0xa0) ResultTypeUnsafeStartCPUProfiler = byte(0xa1) ResultTypeUnsafeStopCPUProfiler = byte(0xa2) ResultTypeUnsafeWriteHeapProfile = byte(0xa3) ResultTypeUnsafeFlushMempool = byte(0xa4) )
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 ResultABCIQuery ¶
type ResultBlock ¶
type ResultBlockchainInfo ¶
type ResultBroadcastTx ¶
type ResultBroadcastTxCommit ¶
type ResultBroadcastTxCommit struct { CheckTx *abci.ResponseCheckTx `json:"check_tx"` DeliverTx *abci.ResponseDeliverTx `json:"deliver_tx"` }
type ResultDialSeeds ¶
type ResultDialSeeds struct { }
type ResultEvent ¶
type ResultEvent struct { Name string `json:"name"` 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 []byte `json:"latest_block_hash"` LatestAppHash []byte `json:"latest_app_hash"` LatestBlockHeight int `json:"latest_block_height"` LatestBlockTime int64 `json:"latest_block_time"` // nano }
type ResultSubscribe ¶
type ResultSubscribe struct { }
type ResultUnconfirmedTxs ¶
type ResultUnsafeFlushMempool ¶
type ResultUnsafeFlushMempool struct{}
type ResultUnsafeProfile ¶
type ResultUnsafeProfile struct{}
type ResultUnsafeSetConfig ¶ added in v0.7.0
type ResultUnsafeSetConfig struct{}
type ResultUnsubscribe ¶
type ResultUnsubscribe struct { }
type ResultValidators ¶
Click to show internal directories.
Click to hide internal directories.