Releases: Concordium/concordium-grpc-api
Releases · Concordium/concordium-grpc-api
GRPC API for node version 8.0
This release supports protocol version 8. In particular, it supports events and data relating to validator suspension. It also adds new endpoints supported in version 8.0 of the Concordium node.
Changes
- Extend
ProtocolVersion
enum with a protocol version 8 variantPROTOCOL_VERSION_8
. - Support for changes related to validator suspension in protocol version 8:
- Added
BakerSuspended
,BakerResumed
message types and corresponding
events toBakerEvent
. - Added
validator_suspended
andvalidator_primed_for_suspension
cases
forBlockSpecialEvent
. - Extended
PoolCurrentPaydayInfo
andPoolInfoResponse
.
- Added
- Add
GetConsensusDetailedStatus
endpoint for querying detailed consensus
status information. - Add
GetScheduledReleaseAccounts
endpoint for querying the list of accounts that
have scheduled releases. - Add
GetCooldownAccounts
,GetPreCooldownAccounts
andGetPrePreCooldownAccounts
endpoints for querying the lists of accounts that have pending cooldowns in protocol
version 7 onwards. - Add
parameter
field toContractInitializedEvent
containing the parameter passed
to the contract initializer. - Add chain parameters v3 with the new
ValidatorScoreParameters
parameters. - Add
validator_score_parameters
toNextUpdateSequenceNumbers
.
GRPC API for node version 7.0
This release supports protocol version 7. In particular, the behavior of stake cooldown (resulting from reducing the stake of a baker or delegator) is different.
Changes
- Extend
ProtocolVersion
enum with a protocol version 7 variantPROTOCOL_VERSION_7
. - Support for changes to cooldown behavior in protocol version 7:
AccountInfo
has a new repeatedcooldowns
field. EachCooldown
records
the amount, (expected) release time and whether it's a regular cooldown,
pre-cooldown or pre-pre-cooldown.AccountInfo
now includesavailable_balance
. This is included since the
method for calculating it has changed (it now must account for the
cooldowns), so this is provided as a convenience.PoolInfoResponse
is revised to make the fieldsequity_capital
,
delegated_capital
,delegated_capital_cap
andpool_info
optional. This
is since in protocol 7 a validator can be unregistered, but still part of the
current epoch validators.BakerEvent
now has an additional casedelegation_removed
, as configuring a baker can
result in a delegator being removed (from protocol 7).DelegationEvent
now has an additional casebaker_removed
, as configuring a delegator
can result in a baker being removed (from protocol 7).
GRPC API for node version 6.2
This release adds a new DryRun
endpoint for simulating transaction execution, and removes the legacy V1 API.
Changes
- Add a new health service that conforms to the API expected
by Google https://github.com/grpc/grpc-proto/blob/master/grpc/health/v1/health.proto - Add
DryRun
endpoint. - Remove
UpdateInstructionSignature
. It was not used in any endpoints. - Remove V1 API.
GRPC API for node version 6.1
This release adds new endpoints and amends the response of GetPoolInfo
response.
This is the API implemented by node version 6.1.7.
Changes
- Add
GetBakersRewardPeriod
endpoint. - Add
GetBlockCertificates
endpoint. - Add
GetBakerEarliestWinTime
endpoint. - Add
GetWinningBakersEpoch
endpoint. - Add
GetFirstBlockEpoch
endpoint. - Add a
CommissionRates
field forPoolCurrentPaydayInfo
.
GRPC API for node version 6.0
GRPC API for node version 6 and protocol version 6.
Changes
- Expand
BlockHashInput
to support querying by block height. - Add
protocol_version
to the return of BlockInfo. - Make
slot_duration
optional inConsensusInfo
. - Add optional fields
current_timeout_duration
,current_round
,current_epoch
,
andtrigger_block_time
toConsensusInfo
. - Make
slot_number
optional inBlockInfo
. - Add optional fields
round
andepoch
toBlockInfo
. - Make
election_difficulty
optional inElectionInfo
.
GRPC API for node version 5.0
Support for protocol version 5.