-
Notifications
You must be signed in to change notification settings - Fork 219
[Bug] "Key path value '<0;1>' is not a valid uint32" - exported output descriptor is invalid and not recognized by Bitcoin Core #817
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
Comments
Multipath descriptors are specified in the proposed BIP 389, and support has already been added to several libraries: bitcoin/bips#1354 Specifying multiple descriptors in a single descriptor string will be supported by Bitcoin Core when bitcoin/bitcoin#22838 is merged. I believe this is an important improvement, as it makes output descriptors much more usable. I find a single, compact descriptor for a wallet is important when copying out as a backup, particularly onto durable media. More so when it is a multisig wallet that ideally requires a backup of all the xpubs. |
To be fair it's compatible with minor edits. I think it goes too far to say it's misleading, which suggests I am intentionally trying to mislead users. As application developers, we don't have the luxury of changing anything after release, and many users choose not to upgrade. The PR linked above could be merged tomorrow, which would the message true. If that happened, would you then consider your proposed "not compatible" suggested text misleading? |
Yes, as a user, I would consider the text inaccurate even if Bitcoin Core merges the PR tomorrow. An example of a more accurate statement: "The output (...) description of the wallet will be compatible with Bitcoin Core version 25". Besides, there could "minor edits" communicated. I don't want to suggest that the message was made in order to mislead users intentionally. I understand that things may be imperfect. As a matter of fact, I want to contribute and give suggestions to improve Sparrow. Also, I appreciate your time, skills and effort. |
The output descriptor export has been changed in b15d630 to have both multipath and single descriptors, with comments to guide the user:
|
Uh oh!
There was an error while loading. Please reload this page.
Preconditions:
Steps:
Actual result:
The descriptor is not accepted by Bitcoin Core:
[
{
"success": false,
"error": {
"code": -5,
"message": "wpkh(): Key path value '<0;1>' is not a valid uint32"
}
}
]
Expected result:
Sparrow creates an Output Descriptor that is accepted by Bitcoin Core and import is finished successfully.
Logs (TRACE level)
sparrow.log
The text was updated successfully, but these errors were encountered: