Skip to content

Conversation

@sprites0
Copy link
Collaborator

@sprites0 sprites0 commented Oct 6, 2025

Resolves performance regression of #79 which was much more severe than expected. Now it uses HlHeader (Header + system_tx_count and logs_bloom with system transaction receipts) for internal storage.

Since this is a breaking change, a migrator to upgrade the DB to use custom header format is included, and will be started when the node starts. It took roughly 8~10 minutes in my machine for the latest block.

Also updated --hl-node-compliant to use the new field instead of enumerating all transactions.

@sprites0 sprites0 force-pushed the breaking/hl-header branch from 0a12c02 to 47aaad6 Compare October 8, 2025 13:04
@sprites0 sprites0 changed the title Breaking/hl header feat(breaking): Use custom header format (HlHeader) Oct 9, 2025
@sprites0 sprites0 marked this pull request as ready for review October 9, 2025 06:49
@sprites0 sprites0 merged commit 0e49e65 into node-builder Oct 9, 2025
4 checks passed
@sprites0 sprites0 deleted the breaking/hl-header branch October 9, 2025 06:54
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.

2 participants