Uh oh!
There was an error while loading. Please reload this page.
UniFFI bindings - #25
Conversation
933cc5c to
7eb0707Compare78e2f18 to
f4df595Comparetnull
commented
Dec 13, 2022
Rebased on current state of #11. |
f4df595 to
45c7724Compareb7622d9 to
4b449b4Comparetnull
commented
Dec 15, 2022
Rebased on #11. |
a364bb0 to
2d9fe37Compare8481816 to
1b70183Compare32d3675 to
4fcfebcCompare7921080 to
40c5031Compare38aac93 to
c04f28fComparebb3375f to
1d5e59bComparetnull
commented
Apr 25, 2023
Squashed fixups and rebased. Dropped part of the last WIP commit, as this is getting too big anyways. We should land this and then add CI bindings testing in a follow-up. |
tnull
commented
Apr 26, 2023
Rebased on main. |
jkczyz
left a comment
There was a problem hiding this comment.
Are the "bindings generation support" commits generated from somewhere?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| val address2 = node2.newFundingAddress() | ||
| println("Funding address 2: $address2") | ||
| //sendToAddress(address1, 100000u) |
There was a problem hiding this comment.
Any reason why this is commented out?
There was a problem hiding this comment.
Yes, as the way I'm issuing commands to the bitcoind regtest node in the JVM version doesn't work on Android (no bitcoin-cli available there, and not even the Runtime JVM object I use to run the commands) . So it's still WIP how to actually integrate the Android library tests with a) any bitcoind/electrsd backend b) run them in the Android device simulator and c) run all of it in CI.
All of it will be a bunch of work that I don't expect to land in this PR, very likely not even for 0.1. I now dropped the commented-out parts and would defer any further changes to a dedicated follow-up.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
jkczyz
left a comment
There was a problem hiding this comment.
LGTM. Please squash fix-ups.
We generate the scaffolding from an UDL file and include it in `lib.rs`. Furthermore, we add a bindings generation shell script for convenience.
tnull
commented
May 8, 2023
Squashed without further changes. |
Based on
#9,#10,#11,#13,#52.This PR provides the starting point for UniFFI bindings. Depending on how much code changes are required for the binding generation, we may want to move this to a separate repository.