]> Untitled Git - bdk/commit
refactor(chain)!: Replace trait `AnchorFromBlockPosition` with new struct
authorJiri Jakes <jiri@jirijakes.com>
Sun, 8 Sep 2024 08:05:30 +0000 (16:05 +0800)
committerJiri Jakes <jiri@jirijakes.com>
Sun, 29 Sep 2024 04:25:20 +0000 (12:25 +0800)
commitab8068b90ee476f8edf7d3d4a21d621818e30969
tree71dabad1f320a86e1548db53a77270ece0ec32d6
parent257c5f7f5ef2d2d333a553be5d15f1e5ce1ea709
refactor(chain)!: Replace trait `AnchorFromBlockPosition` with new struct

This change replaces a way of creating new generic anchor from block,
its height and transaction position. Previous way was using conversion
trait, newly it is a struct and `From`.
crates/chain/src/indexed_tx_graph.rs
crates/chain/src/tx_data_traits.rs