Extend getpeerinfo result with current block height.
* This adds support for displaying the progress of dynamically updating the current height of connected peers.
This commit is contained in:
parent
78e2c8401b
commit
fca277e194
1 changed files with 1 additions and 0 deletions
|
@ -151,6 +151,7 @@ type GetPeerInfoResult struct {
|
|||
SubVer string `json:"subver"`
|
||||
Inbound bool `json:"inbound"`
|
||||
StartingHeight int32 `json:"startingheight"`
|
||||
CurrentHeight int32 `json:"currentheight,omitempty"`
|
||||
BanScore int32 `json:"banscore,omitempty"`
|
||||
SyncNode bool `json:"syncnode"`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue