Skip to content

Cardano DB Sync 10.0.0

Compare
Choose a tag to compare
@LaurenceIO LaurenceIO released this 12 Jul 08:20
5eff9a0

This release introduces the functionality to restore the db-sync state from a snapshot file, which is a more efficient method for syncing (~20x faster). The state snapshot files can be found here:

File Testnet Mainnet
snapshot https://updates-cardano-testnet.s3.amazonaws.com/cardano-db-sync/db-sync-snapshot-schema-10-block-2731927-x86_64.tgz https://update-cardano-mainnet.iohk.io/cardano-db-sync/db-sync-snapshot-schema-10-block-5915608-x86_64.tgz
shasum https://updates-cardano-testnet.s3.amazonaws.com/cardano-db-sync/db-sync-snapshot-schema-10-block-2731927-x86_64.tgz.sha256sum https://update-cardano-mainnet.iohk.io/cardano-db-sync/db-sync-snapshot-schema-10-block-5915608-x86_64.tgz.sha256sum
signature https://updates-cardano-testnet.s3.amazonaws.com/cardano-db-sync/db-sync-snapshot-schema-10-block-2731927-x86_64.tgz.asc https://update-cardano-mainnet.iohk.io/cardano-db-sync/db-sync-snapshot-schema-10-block-5915608-x86_64.tgz.asc

Documentation for restoring from these files available at state-snapshot.md.

Note that this release requires the database to be dropped and recreated.
Requires ghc-8.10.x to build.

Compatible with Cardano Node 1.27.0.

Added

  • Interleave bulk insertion (epoch_stake, reward and orphaned_reward) with regular insertions.
  • Fetch and insert pool offline metadata.
  • Add EpochSyncTime table (#621).
  • Add helper functionality for state snapshot generation (#617).

Improved

  • Documentation updates.
  • Update utxo_view query (#543).
  • Minor update of database schema.
  • Refactor/improve rollbacks (#570).
  • Update a couple of uniqueness constraints.
  • Update system requirements in Readme.hd.
  • Update doc/interesting-queries.md file with a new statistics query.

Removed

  • Remove merkle_root field from block table.

Resolved

  • Fix network id for reward_addr in pool_update table (#546).
  • Fix PoolUpdate activeEpochNo field (#610).
  • Fix incorrect "Starting epoch N" message (#627).

Known issues

  • Unhandled DCertGenesis certificate #290
  • Missing staking rewards #683

Documentation

Cardano DB Sync Overview
Building and Running the Cardano DB Sync Node
Schema Management
Validation
The Plug-in System
State snapshot

Platforms

Sign off

Role Approval
Technical Lead ✔️
QA Engineer ✔️
Ops
Release Manager ✔️