Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RPCClient ¶
type RPCClient interface { BroadcastTx(broadcastType string, tx types.Tx) (itypes.BroadcastTxResult, error) GetStatus() (ResultStatus, error) GetSyncStatus() (SyncStatus, error) GetTx(hash string) (ResultTx, error) Block(height int64) (*ctypes.ResultBlock, error) }
type ResultStatus ¶
type ResultStatus struct {
NodeInfo p2p.DefaultNodeInfo `json:"node_info"`
}
type SyncStatus ¶ added in v1.1.8
type SyncStatus struct {
SyncInfo core_types.SyncInfo `json:"sync_info"`
}
Click to show internal directories.
Click to hide internal directories.