bdk
bdk copied to clipboard
Unify syncing chain state between BDK-LDK
Investigate ways to create a sync method for LDK Listen
interface and BDK Wallet/Database
Could potentially re-use the BDK RPC Blockchain as an LDK block source but you'd end up with LDK SPV client polling the block source and BDK's wallet.sync()
Other options might be to have bdk::Blockchain
be the source of chain data that lightning-block-sync
polls and you can also have bdk::Database
(or Wallet) implement LDK's Listen
interface to accept updates from lightning-block-sync
Hi @ConorOkus I might be missing contexts here. But is this something related to this discussion in discord too https://discord.com/channels/753336465005608961/998961455363805184/1007350145173692416??
@rajarshimaitra sorry for the late reply, I don't think this is particularly specific to CBF. There is a related issue for this on the LDKLite repo - https://github.com/lightningdevkit/ldk-lite/issues/3 @tnull is working one
https://github.com/lightningdevkit/ldk-lite/pull/9/files
The next version of bdk
(0.24.0) should be released next week and will include the latest version of rust-esplora-client
(0.2.0) and latest rust-bitcoin
(0.29) and rust-miniscript
(8.0). More details on the release in #787.
https://github.com/bitcoindevkit/.github/issues/51