-
Notifications
You must be signed in to change notification settings - Fork 367
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
Bump rust-bitcoin to 0.30.0 #2124
Comments
The bump in |
Turned out to be complicated and 116 has too much else going on. |
You guys don't really need me poking my nose in but you likely want to jump to 0.31.0 because you need left and right shift on |
Mh, any chance this would still land for 0.0.119? BDK's 1.0 branch already updated to I suspect this is also the reason why Mutiny still pins BDK 1.0.0-alpha.1, @benthecarman ? |
Yes, we can't use 0.30 until LDK does |
Sure, absolutely, if they get the difficulty calculation stuff over the line it can make whatever release it makes. I do not, however, think we should hold any release until this lands. |
So you guys need rust-bitcoin/rust-bitcoin#2090 merged and backported to 0.30.1 as well as 0.31.1, right? I can put it at the top of my priority list. |
Is ready for review, this PR is blocking me on nakamoto, but I think I will have a followup regarding the API. |
With 0.31.0, we already have all we need. We don't need rust-bitcoin/rust-bitcoin#2090. |
Oh yeah? Magic, that makes my life easier by far. |
Do you want the shift stuff backported to 0.30.0 or are you happy jumping over the top of that release? The 0.30 to 0.31 upgrade is not painful like the 0.29 to 0.30 one :) |
One benefit of the backport would be that we'd immediately regain compatibility with BDK which had been on 0.30 for a while but is blocked on upgrading to 0.31 due to We could therefore first upgrade to 0.30 and then better coordinate the upgrade to 0.31 with BDK (cc @notmandatory) |
What the actual hell?! Are they exposing rust-bitcoin types in the API and trying to stabilize? If so, that's a very bad idea as we expect things to break in the future. I even know some specific things that will very likely break. |
Ehm, yes, we all use The discussion about the semantics of stabilisation and "when 1.0" is likely off-topic here. However, it's still important that our users can upgrade LDK / BDK libraries in a somewhat reasonable timeframe. And they can't as long as each library depends on a different (API-incompatible) version of |
@tnull we could move the discussion here: bitcoindevkit/bdk#1215 Yeah, I suspected that basic types like |
I mean maybe this would be a long-term solution. However, LDK and BDK really also make use of some of the advanced types and might also want to expose some of it in our API as we're modular low-level libraries ourselves. My personal view is that short- to mid-term we in the |
Please see rust-bitcoin/rust-bitcoin#2160 (comment) As for advanced stuff, I see these options: put that behind |
Coming at ya! rust-bitcoin/rust-bitcoin#2196 |
ba99aa4 Bump version to 0.30.2 (Tobin C. Harding) 3c9bbca Expose valid (min, max) difficulty transition thresholds (Wilmer Paulino) Pull request description: Patch one backports #1820, I believe this is all that is needed for LDK to be able to upgrade to `rust-bitcoin v0.30`. Context: - #1820 - lightningdevkit/rust-lightning#2124 Patch 2 adds a changelog entry and bumps the minor version. ACKs for top commit: Kixunil: ACK ba99aa4 Tree-SHA512: 93adb52bbc8e61ece63e5653dea7cf6d2d25028f25cb8bbda14606d9ebf74becaee0a0c4f4f3d7fde56c0e2b8a57f8c9be263e04833161a1da0baaf8fcca8764
Might not be a fun one 😅
bitcoindevkit/bdk#916
The text was updated successfully, but these errors were encountered: