You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, we also have a related issue on the LDK Node side: ever since bdk-ffi upgraded to use bitcoin-ffi, bdk-ffi can't be used side-by-side with LDK Node in the same Swift project as there will be name clashes. I hope this will go away once we also upgrade to use bitcoin-ffi, i.e., some compiler will realize it's the same type that's linked-in.
My understanding is that (at the moment at least for bdk-ffi) the problem is on the glue code side. Both my bdk.kt and bitcoin.kt files contain the same types. The issue is that the bitcoin.kt file adds all types defined in the UDL file in bitdcoin-ffi, even though my bdk-ffi library only imports some of them.
Note that I need to dig into the response from Mark on the linked issue, because he can't reproduce my error.
See this issue for info.
Any type defined in bitcoin-ffi that is also defined in bdk-ffi will name clash and crash at runtime, even if those types are not imported in bdk-ffi.
The text was updated successfully, but these errors were encountered: