Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockNonce ¶
type BlockNonce [8]byte
type Peer ¶
type Peer struct {
p2p.NodeInfo `json:"node_info"`
IsOutbound bool `json:"is_outbound"`
ConnectionStatus p2p.ConnectionStatus `json:"connection_status"`
}
type ResultBlock ¶
type ResultBlock struct {
}
type ResultBlockHeaderInfo ¶
type ResultBlockchainInfo ¶
type ResultBlockchainInfo struct {
LastHeight uint64 `json:"last_height"`
}
type ResultDialSeeds ¶
type ResultDialSeeds struct {
Log string `json:"log"`
}
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 int `json:"latest_block_height"`
LatestBlockTime int64 `json:"latest_block_time"` // nano
}
func (*ResultStatus) TxIndexEnabled ¶
func (s *ResultStatus) TxIndexEnabled() bool
Click to show internal directories.
Click to hide internal directories.