-
Notifications
You must be signed in to change notification settings - Fork 138
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
Depend on bitcoin v0.32.0-rc
#662
Conversation
Have you got more changes to miniscript queued up @apoelstra, as we get closer to releasing |
Yes :P my development branch currently has a 3000-line patch. But don't worry about me, I don't mind rebasing on changes for a new rust-bitcoin. |
8a843cf
to
007c38b
Compare
The new |
I.e. the |
I think changing the pubkey type is going to be a mess in rust-miniscript no matter what. This crate uses public keys way heavier than pretty much anything else. One way you can make the update simpler though is to add a bitcoin 0.32 dep under a different name, start switching public key types over (possibly across multiple commits), and then doing the rest of the updates and cutting over to bitcoin 0.32 in a final, smaller commit. |
Cool, I'll do the |
I might give it a shot as well. |
Madness, I got the
Reflecting, the hardest part was bumping the version number of every crate in the stack, and remembering what order to do them in, once that was done I did the actual cc @notmandatory in case you are interested Steve. We are gearing up to do another I'll push up branches once we drop the first RC version. |
Thanks for the headsup @tcharding, as you mentioned getting all ecosystem crates updated is a big job so it's unlikely we'll be updating to rust-bitcoin 0.32 for our 1.0.0 milestone unless we absolutely have to. Glad to hear the 0.31 update wasn't too much work, I'll see if I can help with the CI issue on bitcoindevkit/bdk#1177, it's on the top of my priority list. |
Fair. In 0.33 we will hopefully deliver a primitives crate, that will be a much more interesting upgrade. |
c531da8
to
507469c
Compare
Needs rebase now after #676. |
Note I've removed the TODOs and used the original |
Test the latest bitcoin release candidate. Includes bumping the version numbers so we can use this branch to test crates further up the stack. Requires the `rc-fixes` branch.
@tcharding wanna bump this and undraft it? I went over the diff. utACK 1846584 once it's updated to the final version of 0.32. |
Though reading this did make me notice rust-bitcoin/rust-bitcoin#2728 |
We need rust-bitcoin/rust-bitcoincore-rpc#337 before we can do this one. |
Ugh. Let's just fork it for now. |
ha, I woke up thinking the same thing. EDIT: Hold the phone, I'm a crate owner now. I can publish a new version. Can you review these two PRs please and I'll merge them and do a release PR. EDIT again hours later: I'm going to fork. Please see the new fork at https://github.com/tcharding/rust-bitcoincore-rpc I have emailed @RCasatta to ask for perms to publish to crates.io under the same name he did last time we did this ( I've talked to @stevenroose on Signal but he is keen to push forward with async so I don't see a way to keep using |
Sounds good. What then is your intention for all the PRs you've opened? I will test/merge the ones that are undrafted and seem simple/uncontroversial at least. |
I got myself in a state yesterday, swung wildly from super excited to have something useful to work on (
Riccardo has given me publish perms on |
I wouldn't mind async in jsonrpc if it were possible to isolate and feature-gate it. But if the result is to essentially create a whole nother crate that is embedded by feature-gate inside rust-jsonrpc, then we ought to just make a whole nother crate. |
👍 for another crate, inside same repo . IIRC the most gnarly part is the json rpc schema types which are already in a separate crate and can be shared. Rest are largely the methods doing the actual calls, which will need to be duplicated anyway. |
|
Was only for testing. |
Test the latest bitcoin release candidate. Includes bumping the version numbers so we can use this branch to test crates further up the stack.
Requires the
rc-fixes
branch.