Skip to content

Add block_no to Checkpoint - #212

Draft
paluh wants to merge 1 commit into
CardanoSolutions:masterfrom
paluh:block-no-in-checkpoint
Draft

Add block_no to Checkpoint#212
paluh wants to merge 1 commit into
CardanoSolutions:masterfrom
paluh:block-no-in-checkpoint

Conversation

@paluh

@paluh paluh commented Jul 30, 2026

Copy link
Copy Markdown

Some context:

  • This is a draft opened to support related discussion: Add block height to the matches聽#213
  • This PR was manually coded (no AI).
  • Tests were executed against cardano-node using SQLite. PostgreSQL and Ogmios will be next if the overall change is approved.

Main changes:

  • I introduced Checkpoint which is a ~Checkpoint Point BlockNo. I introduced that type on both Database and App levels.
  • I added block_no to the checkpoints table.
  • Checkpoint is used during insertions and during checkpoint and match related retrievals.
  • Point is used in rollback handling and in queries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant