]> Untitled Git - bdk/commit
docs(chain): note false-pending in CanonicalView::balance
author志宇 <hello@evanlinjin.me>
Mon, 12 Oct 2026 08:49:54 +0000 (08:49 +0000)
committer志宇 <hello@evanlinjin.me>
Tue, 13 Oct 2026 01:33:19 +0000 (01:33 +0000)
commite6a63e450b8e8e56c9daeb3e2341a88b9f90a26e
tree63d0841c45d58e484beba7ef72e7351539790b38
parentdadeb37fd94ca7ded7adee2d2bf69047135f6d23
docs(chain): note false-pending in CanonicalView::balance

An output confirmed transitively carries a descendant's anchor, so its
confirmation height may be an upper bound. An `is_settled` predicate
that requires a minimum number of confirmations may therefore make
`balance` count it as pending even though it has enough.

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