Documentation ¶
Index ¶
- type BestState
- type EventOrphan
- type RequestBodyAuthRegister
- type RequestBodyAuthToken
- type ResponseAuthRegister
- type ResponseAuthToken
- type ResponseBestState
- type ResponseEventOrphan
- type ResponsePeer
- type ResponseRevision
- type ResponseSnapshot
- type ResponseTimePoint
- type Revision
- type Snapshot
- type TimePoint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestBodyAuthRegister ¶
type RequestBodyAuthToken ¶
type ResponseAuthRegister ¶
type ResponseAuthToken ¶
type ResponseBestState ¶
type ResponseEventOrphan ¶
type ResponseEventOrphan struct { // OK,是否查询成功 Ok bool `json:"ok"` // 消息,返回的消息 Msg string `json:"msg"` // 数目,返回结果的数目 Number int32 `json:"number"` // 数据,返回的数据 Data []EventOrphan `json:"data"` }
type ResponsePeer ¶
type ResponseRevision ¶
type ResponseSnapshot ¶
type ResponseTimePoint ¶
type TimePoint ¶
type TimePoint struct { // 所属对等节点的唯一标识 Tag string `json:"tag"` // Snapshot的唯一ID SnapshotId string `json:"snapshot_id"` // Snapshot表示的区块同步过程的起始时间 InitTimestamp string `json:"init_timestamp"` // Snapshot表示的区块同步过程的结束时间 FinalTimestamp string `json:"final_timestamp"` }
TimePoint - 某一区块同步过程所在的时间点
Click to show internal directories.
Click to hide internal directories.