-
Notifications
You must be signed in to change notification settings - Fork 351
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
The rpc
blockchain tests don't work with Bitcoin Core 23.0
#598
Comments
Adding this to my top todos.. I suspect this is something to do with legacy and descriptor wallet type in new core. They might have disabled few RPCs for descriptor type wallets. Would try find the bottom of it.. |
I'm assigning this to you then :) |
This is happening because The possible solutions are
Looking for suggestion on best way forward.. cc @RCasatta |
I am keen to change Another option is that the rpc setup code create another non-descriptor wallet and then using |
Is it possible to change rpc setup code to always use a descriptor wallet?? I feel core has been already moving towards descriptors from legacy. And the But I can imagine handling different wallet type depending on version of core could also become problematic.. So more leaning towards always ask for a descriptor wallet explicitly from core.. Descriptor support in core goes back till v0.17.0.. Is there any potential problem in doing that?? |
Importmulti was used in rpc implementation because at that time (not sure now) not every descriptor supported by bdk was supported by core |
It seems like Once we have that, and |
Maybe you can already do it by performing a "raw" call to the RPC? Even if it's not exposed by their API
This is still true today, although I think the Miniscript pr is ready and will hopefully be merged soon. |
For reference I found these core miniscript PRs:
|
Yeah right, I think that can work.. Thanks @notmandatory for the refs.. I am still figuring out a way to do legacy in core For example it seems like the but it still creates a descriptor wallet. The descriptor flag should be in the
|
Descriptor wallets are different in various ways from legacy wallets, so it might be easiest to first set It'll be a while before creating legacy wallets is no longer possible: bitcoin/bitcoin#20160 |
Thanks @Sjors for the timeline ref.. Yes in that case it does make sense to fall back onto legacy and figure out the descriptor part slowly.. I am still digging deeper why |
@rajarshimaitra The default was just changed, see https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-23.0.md;
Up until 22.x, new wallets were legacy type by default. Since 23.0, new wallets are descriptor type by default. |
Re-opened since even after #628 the |
rpc
blockchain doesn't work with Bitcoin Core 23.0rpc
blockchain tests don't work with Bitcoin Core 23.0
Describe the bug
Running the integration tests against Bitcoin Core 23.0 I see all of them failing with:
To Reproduce
I recently updated
bitcoind
to the latest version which supports Bitcoin Core 23.0 in my taproot branch, I assume this could be reproduced by manually connecting to a 23.0 node.Expected behavior
Tests should not fail
Build environment
Linux x86_64, but I'm assuming it doesn't matter too much
The text was updated successfully, but these errors were encountered: