]> Untitled Git - bdk/commit
refactor(chain)!: remove `Anchor::confirmation_height`
author志宇 <hello@evanlinjin.me>
Thu, 15 Oct 2026 02:45:25 +0000 (02:45 +0000)
committer志宇 <hello@evanlinjin.me>
Thu, 15 Oct 2026 02:45:25 +0000 (02:45 +0000)
commit74de3a0d656448e6851771952e90b060e890b260
tree6e184dde78a816ed449b76f44f4cc1d1c99c533d
parente6a63e450b8e8e56c9daeb3e2341a88b9f90a26e
refactor(chain)!: remove `Anchor::confirmation_height`

An anchor names the confirming block, so the confirmation height is
always `anchor_block().height`. An overridable method could only
diverge from that, so callers use `anchor_block().height` directly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
crates/chain/src/canonical_task.rs
crates/chain/src/chain_data.rs
crates/chain/src/tx_data_traits.rs
crates/chain/src/tx_graph.rs