Simplify soft forks via code generation#82
Merged
ajtowns merged 3 commits intobitcoin-inquisition:29.xfrom Jul 16, 2025
Merged
Conversation
Author
|
See #83 for an example of this in use, in particular compare the "Re-enable OP_CAT" commit there to the "Re-enable OP_CAT" and "OP_CAT deployment" commits in #68. Any ideas on how to automate the tweaks needed for rpc_blockchain.py appreciated; I think that's the only thing that will continue to force soft-fork PRs to conflict. |
274f1a2 to
7507adf
Compare
Author
Generating |
fbf2f37 to
9bab8c4
Compare
9bab8c4 to
0760cda
Compare
955d365 to
e66baf7
Compare
e66baf7 to
ea385f8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces
src/binana.pywhich turnssrc/binana/*.jsonfiles into asrc/binana.hheader file, that will automatically fill in many of the commonly touched parts of the code when introducing a new soft fork or opcode.