General notes
- Tallinn protocol support;
- Lower indexing latency with node streaming API;
- Extended staking and delegation statistics;
- More baker data;
- Minor bugfixes and improvements.
To update from v1.16.* to v1.17.0 you will have to drop the indexer database and restore it from the latest snapshot, or re-index from scratch. This is due to breaking changes, that make automatic DB migration impossible.
Changes in the configuration
- [BREAKING] Indexing
Lagsetting was moved from theTezosNodesection to theObserversection; Observersection was added (see it here).
Changes in the API endpoints
- [BREAKING]
/v1/blocksendpoint no longer allow sorting byvalidations, sort byattestationPowerinstead; - [BREAKING]
/v1/delegatesendpoint no longer allow sorting bydelegatedBalanceandstakingBalance, sort byexternalDelegatedBalanceandvotingPowerinstead; - [BREAKING] query parameter
?maxRoundin the/v1/schedulewas removed; - query parameter
?typewas added to the/v1/schedule;
Changes in the API models
- [BREAKING] fields
stakingBalanceanddelegatedBalancein the baker model were renamed tovotingPowerandexternalDelegatedBalance; - [BREAKING] fields
blocks,slotsandstatuswere removed from baking schedule intervals; - [BREAKING] fields
blockBonusPerSlotandattestationRewardPerSlotwere removed from cycles; - [BREAKING] fields
validations,aiToggleandaiToggleEmawere removed from blocks; - [BREAKING] field
slotsin attestations and preattestations was renamed topower; - fields
consensusAddress,companionAddress,bakingPower,ownDelegatedBalance,softwareUpdateLevel, andsoftwareUpdateTimewere added to the baker model; - fields
totalBlocks,missedBlocks,futureBlocks,totalAttestations,missedAttestations, andfutureAttestationswere added to baking schedule intervals; - fields
unlockCycle,unlockLevel, andunlockTimewere added to unstake requests; - fields
blockBonusPerBlockandattestationRewardPerBlockwere added to cycles; - fields
attestationPower, andattestationCommitteewere added to blocks; - field
delegationPowerDividerwas added to protocol constants; - fields
totalOwnStaked,totalOwnDelegated,totalExternalStaked,totalExternalDelegated,totalBakingPower,totalVotingPower,totalBakers,totalStakers, andtotalDelegatorswere added to statistics; - fields
totalTz4Bakers,totalDalBakers,totalBakingPowerandtotalVotingPowerwere added to home stats.
Changes in the DB models
Accounts table:
StakingBalanceandDelegatedBalancewere removed;Index,ConsensusAddress,CompanionAddress,BakingPower,VotingPower,OwnDelegatedBalance,ExternalDelegatedBalanceandSoftwareUpdateLevelwere added;
AppState table:
AiActivationLevel,AbaActivationLevelandPendingSecondaryKeyswere added.
Cycles table:
BlockBonusPerSlot,AttestationRewardPerSlotandMaxBlockRewardwere removed;BlockBonusPerBlockandAttestationRewardPerBlockwere added;
Blocks table:
Validations,AIToggleandAIToggleEmawere removed;AttestationPowerandAttestationCommitteewere added.
AttestationOps table:
Slotswas renamed toPower.
PreattestationOps table:
Slotswas renamed toPower.
TransactionOps table:
AddressRegistryIndexwas added.
Statistics table:
TotalOwnStaked,TotalOwnDelegated,TotalExternalStaked,TotalExternalDelegated,TotalBakingPower,TotalVotingPower,TotalBakers,TotalStakersandTotalDelegatorswere added.
Commits
- 58a828d: Extend head detection with streaming and polling methods (Maksim Strebkov) #193
- 40e2177: Add
LessReorgssetting for observer (Maksim Strebkov) #193 - 74cc27e: Update build.yml (Maksim Strebkov)
- 83fcf1f: Update build.yml (Maksim Strebkov)
- 0348837: Initial support for proto24 (Maksim Strebkov) #196
- 878a4f1: Index address registry (Maksim Strebkov) #196
- 1de09d8: Rename validations to attestation power, add tallinnnet (Maksim Strebkov) #196
- 3cd973b: Update API docs (Maksim Strebkov) #196
- 9a20e58: Clean up migration (Maksim Strebkov) #196
- 1b94a33: Index baking and voting power, get rid of staking balance (Maksim Strebkov) #196
- e315aff: Index baker's software update level (257Byte) #196
- 0f387b9: Index staking and delegation statistics (257Byte) #196
- a919893: Minor improvements (Maksim Strebkov) #196
- 96fd15a: Index consensus and companion keys (Maksim Strebkov) #196
- 893dd89: Minor API improvements (Maksim Strebkov) #196
- a81cac2: Reset db migrations (Maksim Strebkov) #196
- 41fa8fc: Rework baking schedule intervals (Maksim Strebkov) #196
- a7ecc63: Add filter by type to /schedule (Maksim Strebkov) #196
- 703aeb2: Extend /home with tz4 and dal bakers count (Maksim Strebkov) #196
- 742d841: Update docs and docker files (Maksim Strebkov)
- c721b91: Fix seoul migration on shadownet (Maksim Strebkov)
- c00ea24: Fix GetRewardSplitMember endpoint (Maksim Strebkov)
- e549d35: v1.17.0 (Maksim Strebkov)