]> Untitled Git - bdk/commit
docs(core): address review feedback on docs and tests
author志宇 <hello@evanlinjin.me>
Thu, 5 Mar 2026 06:03:40 +0000 (06:03 +0000)
committer志宇 <hello@evanlinjin.me>
Wed, 22 Apr 2026 04:48:19 +0000 (04:48 +0000)
commit031b30fb3fbc19894c85dccc0d6a5515442e5bce
treedea106d827bed1016daf68acbe3fc18f9444a1c6
parentef35b199376b3b88bc7b8985aa1afa6c81bda5c1
docs(core): address review feedback on docs and tests

Address suggestions by @nymius:
- Add `Returns` and `Errors` doc sections to `CheckPoint::from_blocks`
- Add test assertions for chain integrity after failed push and chain
  length after successful push

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
crates/core/src/checkpoint.rs
crates/core/tests/test_checkpoint.rs