Skip to content

Commit

Permalink
Merge pull request #272 from Concordium/batch-blocks
Browse files Browse the repository at this point in the history
Batch insert blocks
  • Loading branch information
limemloh authored Oct 23, 2024
2 parents ef4a5db + e332789 commit 3050f09
Show file tree
Hide file tree
Showing 10 changed files with 216 additions and 149 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions backend-rust/migrations/0001_initialize.up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,12 @@ CREATE TABLE blocks(
block_time
INTEGER
NOT NULL,
-- Milliseconds between the slot_time of this block and the block above causing this block to be finalized.
-- Milliseconds between the slot_time of this block and the first block above where this was
-- recorded as finalized.
-- This is NULL until the indexer have processed the block marking this a finalized.
finalization_time
INTEGER,
-- Block causing this block to become finalized.
-- Block where this block was first recorded as finalized.
-- This is NULL until the indexer have processed the block marking this a finalized.
finalized_by
BIGINT
Expand Down
Loading

0 comments on commit 3050f09

Please sign in to comment.