Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify syncing chain state between BDK-LDK #709

Open
ConorOkus opened this issue Aug 10, 2022 · 5 comments
Open

Unify syncing chain state between BDK-LDK #709

ConorOkus opened this issue Aug 10, 2022 · 5 comments

Comments

@ConorOkus
Copy link

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

@rajarshimaitra
Copy link
Contributor

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??

@ConorOkus
Copy link
Author

@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 - lightningdevkit/ldk-node#3 @tnull is working one

@ConorOkus
Copy link
Author

@notmandatory
Copy link
Member

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.

@ConorOkus
Copy link
Author

bitcoindevkit/.github#51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: Todo
Development

No branches or pull requests

3 participants