types: Add expired/missed to /vspinfo response.
Adding fields for expired/missed to /vspinfo response, deprecate revoked. This will need a minor version bump in the types module.
This commit is contained in:
parent
a52034cda7
commit
0c5016ae62
@ -24,9 +24,13 @@ type VspInfoResponse struct {
|
|||||||
Voted int64 `json:"voted"`
|
Voted int64 `json:"voted"`
|
||||||
TotalVotingWallets int64 `json:"totalvotingwallets"`
|
TotalVotingWallets int64 `json:"totalvotingwallets"`
|
||||||
VotingWalletsOnline int64 `json:"votingwalletsonline"`
|
VotingWalletsOnline int64 `json:"votingwalletsonline"`
|
||||||
Revoked int64 `json:"revoked"`
|
// Deprecated: Revoked will be removed in the next major version bump.
|
||||||
BlockHeight uint32 `json:"blockheight"`
|
// Revoked is simply the sum of Expired and Missed, so use those instead.
|
||||||
NetworkProportion float32 `json:"estimatednetworkproportion"`
|
Revoked int64 `json:"revoked"`
|
||||||
|
Expired int64 `json:"expired"`
|
||||||
|
Missed int64 `json:"missed"`
|
||||||
|
BlockHeight uint32 `json:"blockheight"`
|
||||||
|
NetworkProportion float32 `json:"estimatednetworkproportion"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type FeeAddressRequest struct {
|
type FeeAddressRequest struct {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user