-
Notifications
You must be signed in to change notification settings - Fork 264
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
Add verifymessage feature #343
Add verifymessage feature #343
Conversation
806b654
to
af014db
Compare
af014db
to
40d91e1
Compare
Can you switch the commits? Currently the first one doesn't compile. |
In rust-bitcoin#326 we changed a function to use `bitcoin::sign_message::MessageSignature` but doing so requires the "base64" feature to be on for `bitcoin`. This did not get caught by CI but improvements to CI in rust-bitcoin#338 will now catch this. Add a feature to `json` and `client` that allows enabling "base64" if the `verifymessage` RPC call is required.
MSRV build just broke because of a bunch of dependencies. I did not investigate why I just found a set of versions that builds.
40d91e1
to
56d62dc
Compare
Oh you build each commit before merging, nice. I have not been doing that when merging things. Lesson learned. I added feature gating to the import as well which got lost somehow. I thought about it this morning, glad I got to add it. |
So, I'm unsure about this PSBTs are also base64-encoded and this is handled in the PSBT API by just taking PSBTs as |
I'll do that, thanks. |
Done as a separate PR because it is totally different to this so using this PR would make the discussion confusing. That is a new process idea I just had, please comment if its worse. Thanks for the review too @apoelstra, I know you are travelling and this is not the most exciting thing to be fixing while doing so. Appreciate the input. |
Close this if/when #349 goes in. |
In #326 we changed a function to use
bitcoin::sign_message::MessageSignature
but doing so requires the "base64" feature to be on forbitcoin
. This did not get caught by CI but improvements to CI in #338 will now catch this.Add a feature to
json
andclient
that allows enabling "base64" if theverifymessage
RPC call is required.