]> Untitled Git - bdk/commit
docs: document TxUpdate temporal context requirements
authorRafael Turon <3598269+rafaelturon@users.noreply.github.com>
Thu, 5 Mar 2026 21:02:06 +0000 (18:02 -0300)
committer志宇 <hello@evanlinjin.me>
Thu, 12 Mar 2026 14:37:51 +0000 (14:37 +0000)
commitb69d7bfce32d20a5849052a2e61bf8d8bff813a6
treeb36de4afd7d5b62f142a07f942860144c4be4d3b
parent01d0dd3b842f29d9dd167227f707d418ddb39036
docs: document TxUpdate temporal context requirements

This introduces clear temporal context documentation to the `TxUpdate`
struct, explicitly stating that entries must have either `anchors` or
`seen_ats` to be considered canonical and contribute to wallet balances.

This fulfills the recommendation outlined in the Wizardsardine
BDK Audit Report (Q4 2024).

Signed-off-by: Rafael Turon <3598269+rafaelturon@users.noreply.github.com>
crates/chain/src/indexed_tx_graph.rs
crates/chain/src/tx_graph.rs
crates/core/src/tx_update.rs