-
Notifications
You must be signed in to change notification settings - Fork 88
feat(cbf): add cbf feature using bdk_kyoto
#181
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
Conversation
|
Good job! I did a quick review and looks good to me. I still need to do some actual testing and see how it works from the cli. @rustaceanrob if you have time please let us know if this is the reasonable approach to adding cbf to the bdk-cli test app. |
|
Thank you for the review @rustaceanrob. I will update and revert. |
|
Gave it one more read. There will be a fair amount of code churn to update to the new |
Yes, I've just seen that you've released version 0.9.0. I will update to 0.9.0 to avoid revisiting this issue.I will message you if I need any clarification. Thank you. |
6755483 to
44e9cd6
Compare
|
Nice job. One more review from me but otherwise looks good. I think you can also squash these to a single commit with |
- enable full_scan and sync operations [issue: bitcoindevkit#172] feat(cbf): update broadcasting tx - add wait time for node to connect to peers before broadcasting tx - add sync chain starting from 10 blocks below the wallet tip to ensure tx is propagated - update code_coverage workflow to cover cbf feature feat(cbf): update bdk-kyoto to 0.9.0 - refactor syncing into a fn - made `skip-blocks` optional and removed default value to use bdk-kyoto Sync scan type feat(cbf): remove looping for kyoto sync - remove looping for kyoto client sync operations - fix compiler warnings
|
ACK 6debc68 Successfully ran a local sync. Thanks man 😎 |
|
What does the "Unexpected invalid proof of work when importing a block header..." message mean here? UPDATE: I removed my |
|
One nit, can we move the |
notmandatory
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 6debc68
Great work @tvpeter and thanks @rustaceanrob for your detailed review.
Yes, I will do that. |
afc2f9d chore(cbf): mv kyoto data to existing datadir (Vihiga Tyonum) Pull request description: <!-- You can erase any parts of this template not applicable to your Pull Request. --> ### Description This PR set the data directory for the Kyoto client. See [comment](#181 (comment)) <!-- Describe the purpose of this PR, what's being adding and/or fixed --> ### Notes to the reviewers <!-- In this section you can include notes directed to the reviewers, like explaining why some parts of the PR were done in a specific way --> This PR ensures that the `light_client_data` directory created by the Kyoto client is in the wallet's data directory. ## Changelog notice <!-- Notice the release manager should include in the release tag message changelog --> <!-- See https://keepachangelog.com/en/1.0.0/ for examples --> ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk-cli/blob/master/CONTRIBUTING.md) * [x] I ran `cargo fmt` and `cargo clippy` before committing #### New Features: * [ ] I've added tests for the new feature * [ ] I've added docs for the new feature * [ ] I've updated `CHANGELOG.md` ACKs for top commit: notmandatory: tACK afc2f9d Tree-SHA512: 899e060313fc3a4263d52a242e785ae30e4e15c6172fcfc1b5242f1038c1670f568f1e09d8080944c9a2912a04ca2971ba1eda21eb0ef53bbff01d037dc02bdf
811f614 fix(cbf): typo and cbf dir config when sqlite feature disabled (Steve Myers) b04fed2 feat(cbf): implement transaction broadcasting (rustaceanrob) Pull request description: The actual implementation comes down to listening for an info message that reports the transaction was sent to a peer. For simplicity I am ignoring any wallet updates, but if the user calls the `Sync` command they can catch them. Follows up #181 ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk-cli/blob/master/CONTRIBUTING.md) * [x] I ran `cargo fmt` and `cargo clippy` before committing #### New Features: * [ ] I've added tests for the new feature * [ ] I've added docs for the new feature * [ ] I've updated `CHANGELOG.md` #### Bugfixes: * [ ] This pull request breaks the existing API * [ ] I've added tests to reproduce the issue which are now passing * [ ] I'm linking the issue being fixed by this PR ACKs for top commit: notmandatory: ACK 811f614 Tree-SHA512: 6a1ae4cee58170be5ac444598ea8362e8bd7c77137e2f010e8120869d7491c0ad37798508cea04da6a755d4a1a85b283454daf11624a3bb485e61003ae194007
Description
This PR re-enables the Compact Block Filters (cbf) feature using
bdk_kyotoand it is part of updating the libraryto use the latest
bdkcrates.Notes to the reviewers
This is part of issue #172
Checklists
cargo fmtandcargo clippybefore committing