]> Untitled Git - bdk/commit
feat(chain)!: Add `run_until_finished` methods
author志宇 <hello@evanlinjin.me>
Tue, 26 Nov 2024 01:36:59 +0000 (12:36 +1100)
committer志宇 <hello@evanlinjin.me>
Tue, 10 Dec 2024 09:16:38 +0000 (20:16 +1100)
commitf6192a615a7aea2ca9bdcca199356ea4d0386ce1
treef66dff6a5f25e144f1aa287e9d8f819c073f779f
parent0aa39f9e1ca406c55a1e33477ec3806c7cf8b9b5
feat(chain)!: Add `run_until_finished` methods

Add `run_until_finished` methods for `TxAncestors` and `TxDescendants`.
This is useful for traversing until the internal closure returns `None`.

Signatures of `TxAncestors` and `TxDescendants` are changed to enforce
generic bounds in the type definition.
crates/chain/src/tx_graph.rs