Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suspend info in PoolInfoResponse and PoolCurrentPaydayInfo #74

Merged
merged 4 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
events to `BakerEvent`.
- Added `validator_suspended` and `validator_primed_for_suspension` cases
for `BlockSpecialEvent`.
- Extended `PoolCurrentPaydayInfo` and `PoolInfoResponse`.
- Add `GetConsensusDetailedStatus` endpoint for querying detailed consensus
status information.
- Add `GetScheduledReleaseAccounts` endpoint for querying the list of accounts that
Expand Down
9 changes: 9 additions & 0 deletions v2/concordium/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2186,6 +2186,12 @@ message PoolCurrentPaydayInfo {
Amount delegated_capital = 7;
// The commission rates that apply for the current reward period.
CommissionRates commission_rates = 8;
// A flag indicating whether the pool owner is primed for suspension.
// Absent if the protocol version does not support validator suspension.
optional bool is_primed_for_suspension = 9;
// The number of missed rounds in the current reward period.
// Absent if the protocol version does not support validator suspension.
optional uint64 missed_rounds = 10;
}

// Type for the response of GetPoolInfo.
Expand Down Expand Up @@ -2218,6 +2224,9 @@ message PoolInfoResponse {
optional PoolCurrentPaydayInfo current_payday_info = 8;
// Total capital staked across all pools, including passive delegation.
Amount all_pool_total_capital = 9;
// A flag indicating whether the pool owner is suspended.
// Absent if the protocol version does not support validator suspension.
optional bool is_suspended = 10;
}

// Type for the response of GetPassiveDelegationInfo.
Expand Down