Closed tcharding closed 1 month ago
Can you switch the commits? Currently the first one doesn't compile.
Can you switch the commits? Currently the first one doesn't compile.
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 verifymessage
feature. At least, it shouldn't be called verifymessage
.
PSBTs are also base64-encoded and this is handled in the PSBT API by just taking PSBTs as &str
s. I think we should either do that here, or change the PSBT API to also be feature-gated on base64, or just change the bitcoin dep to always have the base64 feature on.
or just change the bitcoin dep to always have the base64 feature on.
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.