Skip to content
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

json: Enable "base64" feature #349

Closed
wants to merge 2 commits into from

Conversation

tcharding
Copy link
Member

We need base64 encoding in bitcoin to in order to stringify the sign_message::MessageSignature.

Note also that the Psbt type is encoded/decoded in base64 and we would like to support that by default also.

Enable the "base64" feature unconditionally for the json crate.

(Patch 2 fixes pinning MSRV which is currently broken on master.)

We need base64 encoding in `bitcoin` to in order to stringify the
`sign_message::MessageSignature`.

Note also that the `Psbt` type is encoded/decoded in base64 and we would
like to support that by default also.

Enable the "base64" feature unconditionally for the `json` crate.
MSRV build just broke because of a bunch of dependencies. I did not
investigate why I just found a set of versions that builds.
@tcharding
Copy link
Member Author

This is an alternate to #343

Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 24a549e looks good to me. Maybe we ought to strongly-type the PSBT APIs alongside this. In any case we need Steven to ACK to move forward on this.

@tcharding
Copy link
Member Author

Steven to ACK to move forward on this.

Oh no that will mean we won't be able to release this for ages, I broke master by merging #326, maybe we should just revert that so we can move on.

@tcharding
Copy link
Member Author

tcharding commented May 4, 2024

Lets merge the revert and get master building again: #350

I accept full responsibility for this mistake.

@tcharding tcharding closed this May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants