Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct {
Number uint32 `json:"number"`
ID types.Bytes32 `json:"id"`
ParentID types.Bytes32 `json:"parentID"`
QC *QC `json:"qc"`
Timestamp uint64 `json:"timestamp"`
TxCount int `json:"txCount"`
LastKBlock uint32 `json:"lastKBlock"`
Nonce uint64 `json:"nonce"`
}
Block block
type BlockProbe ¶
type ChainProbe ¶
type Node ¶
type Node struct {
Cons *consensus.Reactor
Chain *chain.Chain
// contains filtered or unexported fields
}
type PacemakerProbe ¶
type ProbeResult ¶
type ProbeResult struct {
Name string `json:"name"`
PubKey string `json:"pubkey"`
PubKeyValid bool `json:"pubkeyValid"`
Version string `json:"version"`
InCommittee bool `json:"inCommittee"`
CommitteeIndex uint32 `json:"committeeIndex"`
CommitteeSize uint32 `json:"committeeSize"`
BestQC uint32 `json:"bestQC"`
BestBlock uint32 `json:"bestBlock"`
Pacemaker *PacemakerProbe `json:"pacemaker"`
Chain *ChainProbe `json:"chain"`
}
Click to show internal directories.
Click to hide internal directories.