]> Untitled Git - bdk/commit
refactor(chain)!: remove AnchorImpl wrapper for Anchor implementors
authornymius <155548262+nymius@users.noreply.github.com>
Thu, 28 Nov 2024 23:58:36 +0000 (20:58 -0300)
committernymius <155548262+nymius@users.noreply.github.com>
Wed, 4 Dec 2024 17:14:19 +0000 (14:14 -0300)
commit7319f510016014a2ce4f9ab6e194e36345829357
tree77f12fffa8497f7724e69e4624c0d3ef8d477650
parentb587b0fcadcc61b9f46336ffee5621363e409092
refactor(chain)!: remove AnchorImpl wrapper for Anchor implementors

AnchorImpl was a wrapper created to allow the implementation of foreign
traits, like From/ToJson from serde_json for external unknown structs
implementing the Anchor trait.

As the Anchor generic in the rusqlite implementation for anchored
ChangeSets was the only place where this AnchorImpl was used and it has
been fixed to the anchor ConfirmationBlockTime, there is no more reason
to keep this wrapper around.
crates/chain/src/lib.rs
crates/chain/src/rusqlite_impl.rs