]> git.bitcoin.ninja Git - rust-lightning/commit
Minimal updates to `lightning-transaction-sync` for bindings 2024-06-tx-sync-bindings
authorMatt Corallo <git@bluematt.me>
Wed, 5 Jun 2024 14:41:03 +0000 (14:41 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 5 Jun 2024 14:44:34 +0000 (14:44 +0000)
commitb57bed3852a7d005b7f8546e5f74eb7ace0a7e75
tree1660fc3ac17e01140fbdfdae48c5a55cbeada609
parentbff453c341e8e97cfaef11af7eb5d4f826cc0f0a
Minimal updates to `lightning-transaction-sync` for bindings

Bindings don't accept dyn traits, but instead map any traits to a
single dynamic struct. Thus, we can always take a specific trait
to accept any implementation, which we do here.
lightning-transaction-sync/src/common.rs
lightning-transaction-sync/src/electrum.rs
lightning-transaction-sync/src/error.rs
lightning-transaction-sync/src/esplora.rs
lightning-transaction-sync/src/lib.rs