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

Replace gen_context.c with a Python implementation #919

Closed
wants to merge 2 commits into from

Conversation

sipa
Copy link
Contributor

@sipa sipa commented Apr 13, 2021

This removes the need for a separate native toolchain to build gen_context, and the issues around compilation options affecting one but not the other.

Alternative to #918.

@sipa
Copy link
Contributor Author

sipa commented Apr 13, 2021

Also submitted the test improvements separately as #920.

@real-or-random real-or-random mentioned this pull request Apr 19, 2021
6 tasks
@apoelstra
Copy link
Contributor

concept ACK. I think this would work well for rust-bitcoin.

@fanquake
Copy link
Member

Concept ACK - ran into issues running gen_context when cross-compiling with mingw-w64 while having Wine installed.

@real-or-random
Copy link
Contributor

@fanquake

As an alternative, @roconnor-blockstream is working on extending gen_context in #956. The plan (in that PR or in a follow up PR) is to simply ship with precomputed headers then, which would removes the need for running gen_context (or python) entirely for all supported builds.

@real-or-random
Copy link
Contributor

Closing in favor of #988 .

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.

4 participants