Skip to content

store: drop unreachable Paged SH and the BDZ1 codec - #682

Merged
reardencode merged 1 commit into
masterfrom
store/drop-retired-leftovers
Sep 22, 2026
Merged

reardencode merged 1 commit into
masterfrom
store/drop-retired-leftovers

Conversation

@rearden-grok

@rearden-grok rearden-grok Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove ShHeadValue::Paged. Pack8 mode 2 still refuses (INDEX_REFUSE_PAGED_SH). Extent keeps append_fks_to_pages and collect_page_chain_linked.
  • Remove the test-only BDZ1 codec (BdzMphf::write_to / read_from). tx.head stays packed BDZ2. Sealed scripthash heads stay BDZ3.
  • Remove unused KIND_IDX.
  • finalize_sh_runs describes the two-scan extract. A short SHAL header no longer says "run migrate".
  • docs/personal-node-plans/ is unchanged.

Test plan

  • cargo test -p rbitcoin-store --lib -- scripthash bdz tx_head pack_ud
  • cargo clippy -p rbitcoin-store --all-targets -- -D warnings
  • cargo clippy -p rbitcoin-query --lib -- -D warnings
  • Required CI

Mode-10 scripthash heads already refuse in unpack8, so the Paged value
and the walks only it used are gone. BDZ1 was a test codec; tx.head is
BDZ2 and sealed SH heads are BDZ3. KIND_IDX was unused.
@reardencode
reardencode merged commit 7eb1772 into master Sep 22, 2026
24 checks passed
@rearden-grok
rearden-grok Bot deleted the store/drop-retired-leftovers branch September 22, 2026 15:59
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