Skip to content

Commit

Permalink
docs: comment on chain tip default block height [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcr committed May 12, 2023
1 parent e26e497 commit 4eb53cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions migrations/1683130430977_chain-tip-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export function up(pgm: MigrationBuilder): void {
pgm.createMaterializedView(
'chain_tip',
{ data: true },
// Set block height 767430 (inscription #0 genesis) as default.
`SELECT GREATEST(MAX(block_height), 767430) AS block_height FROM locations`
);
}
Expand Down

0 comments on commit 4eb53cc

Please sign in to comment.