Skip to content

Remove succssor field from block sideband#5038

Open
RickiNano wants to merge 2 commits intonanocurrency:developfrom
RickiNano:remove-succssor-from-sideband
Open

Remove succssor field from block sideband#5038
RickiNano wants to merge 2 commits intonanocurrency:developfrom
RickiNano:remove-succssor-from-sideband

Conversation

@RickiNano
Copy link
Copy Markdown
Contributor

This V26 database migration rewrites all blocks to remove the 32-byte successor field from block. The successor data has already been copied to the successor table in migration V24
Serialize_v25, deserialize_v25 and size_v25 methods has been added to block_sideband to preserve the ability to read the legacy format during migrations
The migration uses cursor-based iteration with short-lived read transactions to prevent LMDB database bloat during migration.
From my testing, ledger db size increased by only one gb during migration

@gr0vity-dev-bot
Copy link
Copy Markdown

Test Results for Commit 7a1d517

Pull Request 5038: Results
Overall Status:

Test Case Results

  • 5n4pr_conf_10k_bintree: PASS (Duration: 121s)
  • 5n4pr_conf_10k_change: PASS (Duration: 226s)
  • 5n4pr_conf_change_dependant: PASS (Duration: 140s)
  • 5n4pr_conf_change_independant: PASS (Duration: 138s)
  • 5n4pr_conf_send_dependant: PASS (Duration: 130s)
  • 5n4pr_conf_send_independant: PASS (Duration: 132s)
  • 5n4pr_rocks_10k_bintree: PASS (Duration: 118s)
  • 5n4pr_rocks_10k_change: FAIL (Duration: 145s)
  • Log

Last updated: 2026-02-28 21:46:54 UTC

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