-
Notifications
You must be signed in to change notification settings - Fork 45
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
(WIP/Experiment) Add docstrings #454
Conversation
WalkthroughThe recent update to bdk-ffi involves significant enhancements aimed at improving Bitcoin wallet functionalities. New features include various data structures for managing addresses, balances, and transactions, alongside interfaces for transaction building and wallet updates. Additionally, error handling and policy management for transaction outputs have been refined. Changes
Recent Review DetailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Additional comments not posted (12)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Wait for beta 2 and #582 |
waiting for 1.0 final to do this- |
closing since we merged #615 |
Description
The UDL file supports docstring comments.
So I wanted to test it out to see how/if it worked properly, any "gotchas", etc. And also to test it against CI.
This doesn't have to be merged or anything, I'm sure we want to discuss together when we want to start adding these docstrings as we get closer to 1.0.0-beta.
I just started from the top of the
.udl
file and worked my way down about 150 lines so I could run into a bunch of different scenarios.Once I made the changes one-by-one I had a sample Xcode project open to look at and test the
bdk-swift
bindings that were generated.Notes to the reviewers
Things I've tried to notice and make consistent:
code
properly.General open questions:
Screenshots
Here's an example screenshot of what Xcode looks like for the
Wallet
docstrings:Changelog notice
Checklists
All Submissions:
cargo fmt
andcargo clippy
before committingNew Features:
Bugfixes:
Summary by CodeRabbit