Skip to content

Commit

Permalink
Address comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
td202 committed Aug 16, 2023
1 parent 2becdb0 commit c079fde
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
- Add `GetBakersRewardPeriod` endpoint.
- Add `GetBlockCertificates` endpoint.
- Add `GetBakerEarliestWinTime` endpoint.
- Add `GetWinningBakersEpoch` endpoint.
- Add `GetFirstBlockEpoch` endpoint.
- Add a `CommissionRates` field for `PoolCurrentPaydayInfo`.

## Node 6.0 API
Expand Down
4 changes: 4 additions & 0 deletions v2/concordium/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ service Queries {
// * `INVALID_ARGUMENT` if the query is for an epoch that is not finalized for a past genesis
// index.
// * `INVALID_ARGUMENT` if the query is for a genesis index at consensus version 0.
// * `INVALID_ARGUMENT` if the input `EpochRequest` is malformed.
// * `UNAVAILABLE` if the endpoint is disabled on the node.
rpc GetWinningBakersEpoch (EpochRequest) returns (stream WinningBaker);

// Get the block hash of the first finalized block in a specified epoch.
Expand All @@ -301,5 +303,7 @@ service Queries {
// index, or is for a future genesis index.
// * `INVALID_ARGUMENT` if the query is for an epoch with no finalized blocks for a past genesis
// index.
// * `INVALID_ARGUMENT` if the input `EpochRequest` is malformed.
// * `UNAVAILABLE` if the endpoint is disabled on the node.
rpc GetFirstBlockEpoch (EpochRequest) returns (BlockHash);
}

0 comments on commit c079fde

Please sign in to comment.