-
Notifications
You must be signed in to change notification settings - Fork 102
Get binding generation & publishing ready for 0.1 release #114
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
Get binding generation & publishing ready for 0.1 release #114
Conversation
6fea98d
to
527ecff
Compare
dbb0d0d
to
ff7e913
Compare
Rebased on #124. |
f21bd20
to
049d0e9
Compare
9e40c70
to
bbb4c15
Compare
0c37836
to
7f6d70a
Compare
7f6d70a
to
1716da5
Compare
We already have `Node::spendable_onchain_balance` and `Node::total_onchain_balance` exposed, so the general `onchain_balance` is kind of redudant. As it is also not exposed (and not easily exposable) in bindings, we can make the bindings and Rust APIs more homogeneous by dropping the call. Plus, we probably should avoid exposing any BDK types in the public API until BDK 1.0 landed and we made the switch, as many breaking changes will be coming with it.
1716da5
to
9e9a76f
Compare
Rebased on main after #124 was merged. |
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.
took a glance and looks great to me + had some questions :)
...in/ldk-node-android/lib/src/androidTest/kotlin/org/lightningdevkit/ldknode/AndroidLibTest.kt
Outdated
Show resolved
Hide resolved
9e9a76f
to
48d52d4
Compare
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.
LGTM, but I'll let @jurvis speak to the Swift changes. Feel free to squash the fixups. IMO.
As we're using the `onchain` keyword everywhere in the API to discern onchain-operations (e.g., `send_to_onchain_address`, `spendable_onchain_balance`, etc.) we also align the funding API call here and rename `new_funding_address` to `new_onchain_address`.
Now that we split out UniFFI to its own feature, we can make use of the `missing_docs` lint again and enforce it in CI for release docs as well as private items.
.. and use a particular nightly rev for where it's not.
48d52d4
to
7de04b7
Compare
Squashed fixups without further changes. |
print('Failed to read Package.swift file.', file=sys.stderr) | ||
sys.exit(1) | ||
|
||
package_file = original_package_file |
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.
Is the additional variable needed? @arik-so Do you have any insight?
Based on #124.Follow-up to #59.
Closes #73.
Here we'll add the final necessary steps to get bindings ready for the initial 'official' release.