Skip to content

feat(u32): document stack-preserving word pick - #36

Merged
RobinLinus merged 1 commit into
solving-bitcoin:mainfrom
brenorb:feat/u32-pick-router
Sep 18, 2026
Merged

RobinLinus merged 1 commit into
solving-bitcoin:mainfrom
brenorb:feat/u32-pick-router

Conversation

@brenorb

@brenorb brenorb commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add focused correctness coverage for u32_pick(2)
  • document its stack-preserving copy contract
  • record the representative 8-byte script, 24-byte witness, and 16-item peak

Validation

  • cargo test --locked arithmetic::u32::stack::tests::test_u32_pick_preserves_words
  • cargo test --locked --test primitive_metrics u32_pick_metrics_are_current
  • python3 tools/kb.py validate
  • cargo fmt --all -- --check
  • git diff --check

The full repository test suite was intentionally not run; validation is scoped to the documented router.

@RobinLinus
RobinLinus merged commit 376d3f6 into solving-bitcoin:main Sep 18, 2026
@brenorb
brenorb deleted the feat/u32-pick-router branch October 28, 2026 02:57
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