Discover Packages
github.com/assetsadapterstore/velas-adapter
rpc
response
package
Version:
v1.0.8
Opens a new window with list of versions in this module.
Published: Feb 14, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Blockchain struct {
Height int `json:"height"`
CurrentHash string `json:"current_hash"`
CurrentEpoch string `json:"current_epoch"`
}
type Node struct {
P2PInfo *NodeInfo `json:"p2p_info"`
P2PPeers []*NodeInfo `json:"p2p_peers"`
Blockchain *Blockchain `json:"blockchain"`
IsSync bool `json:"is_sync"`
Progress *Progress `json:"progress"`
}
type NodeInfo struct {
ID string `json:"id"`
Name string `json:"name"`
Addr string `json:"addr"`
}
type Progress struct {
StartingBlock uint32 `json:"starting_block"`
CurrentBlock uint32 `json:"current_block"`
HighestBlock uint32 `json:"highest_block"`
PulledStates uint32 `json:"pulled_states"`
KnownStates uint32 `json:"known_states"`
}
Progress progress of synchronization
Source Files
¶
Click to show internal directories.
Click to hide internal directories.