]> Untitled Git - bdk/commit
refactor(chain)!: Change trust_predicate to accept FullTxOut
author志宇 <hello@evanlinjin.me>
Wed, 17 Sep 2025 23:46:29 +0000 (23:46 +0000)
committerLeonardo Lima <oleonardolima@users.noreply.github.com>
Wed, 24 Sep 2025 01:22:59 +0000 (11:22 +1000)
commit1311a2ed050534558ef738ceb754bd9b3a5552a6
treeeaf54122222c9b070950f44c3cdedd884fca572b
parent3f9eec54e7c132764d6582cd51c2681bc3e14eee
refactor(chain)!: Change trust_predicate to accept FullTxOut

BREAKING CHANGE: The trust_predicate parameter in CanonicalView::balance()
now takes &FullTxOut<A> instead of ScriptBuf as its second argument.

This provides more context to the predicate function.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
crates/chain/src/canonical_view.rs
crates/chain/tests/test_canonical_view.rs
crates/chain/tests/test_indexed_tx_graph.rs
crates/chain/tests/test_tx_graph_conflicts.rs