Cardano DB Sync 6.0.0
The main enhancement in this release is the ability to track the ledger state which enables a number of new features, some in this release and more in future releases. In particular this release adds the tracking of delegation rewards and protocol parameters.
It also includes improvements in handling of the Word64 types, and a few bug fixes. There are numerous changes in the database schema, including breaking changes. Documentation has been updated to reflect ledger state maintenance and other improvements.
As this release has breaking changes, the database has to be dropped and recreated if upgrading.
Deployed to the testnet 29 October 2020.
Compatible with Cardano Node 1.21.1.
Added
- Added maintenance of a copy of the ledger state which contains off chain data #300
- Added
Rewardtable and populated from ledger state #305 - Added
EpochParamtable and populated for Shelley (but not Byron) #317 - Added
EpochStaketable and populated with data #319 #324 - Added
stake_address_idcolumn to thetx_outtable #359 - Added the epoch
noncefield to theEpochParamtable #386 - Added Bech32 encodings of two more fields; changed type of
block.vrf_key#295 #333 - Added
--versionoption in CLI commandscardano-db-syncandcardano-db-sync-extended#350, #355
Changed
- Made handling of the Word64 types in the database more robust #334, #351, #335, #352
- Improved the way protocol version is stored in the database #368, #374
- Reorganised configuration: it now reads the node's configuration file #321, #308, #328, #329
- Documentation has been updated to reflect ledger state maintenance and other improvements #382, #367
Breaking changes ⚠️
- Numerous changes in the database schema
- Renamed
config/pgpasstoconfig/pgpass-mainnet - Renamed
ParamUpdatetable toParamProposal
Removed
- Removed
registeredTxIduniqueness constraint onStakeAddress#332
Resolved
- Wrong
reward_addr_idin thepool_updatetable #326, #332 - The
rewardandwithdrawaltables have differentaddr_idfor the samestake_address.view#327, #332 - Fixed uniqueness constraint for
PoolRetiretable #306 #315 - Fixed incorrect hash for
SlotLeader#349, #356 - Fixed
pool_idcolumn in reward table #361, #364 - Fixed
EpochNocolumn ofEpochStaketable #379, #381
Known issues
- Unhandled DCertGenesis certificate #290
- Epochs with no transactions list 0 blocks #296 (this does not occur in the mainnet)
- Git revision UNKNOWN when checking db-sync version #392
Documentation
Cardano DB Sync Overview
Building and Running the Cardano DB Sync Node
Schema Management
Validation
The Plug-in System
Platforms
- Linux 64-bit
- Docker
Sign off
| Role | Approval |
|---|---|
| Technical Lead | ✔️ |
| QA Engineer | ✔️ |
| Ops | |
| Release Manager | ✔️ |