Skip to content

client: rename all macros to have an underscore between words #209

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

Merged
merged 2 commits into from
May 29, 2025

Conversation

jamillambert
Copy link
Collaborator

@jamillambert jamillambert commented May 28, 2025

To match the naming convention used in the rest of the repo add an underscore between the words in the macro names.

The new names are all taken from the lists in verify/src/method/ using regex to find a match for the first entry in the list and replace it with the last entry in the list.

The version modules for versions 20, 24, 25 and 27 were all moved from the crate root into their own subdirectory to match the structure of the other versions.

@tcharding tcharding marked this pull request as draft May 29, 2025 05:19
Copy link
Member

@tcharding tcharding left a comment

Choose a reason for hiding this comment

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

ACK d48920a

@tcharding
Copy link
Member

Hot. I put in on draft because you mention it in the PR description. But I reviewed and acked anyway.

@tcharding
Copy link
Member

When you rebase note #210

To make all version modules the same format move the modules from the
crate root to their own subdirectory.
To match the naming convention used in the rest of the repo add an
underscore between the words in the macro names.

The new names are all taken from the lists in `verify/src/method/`.
@jamillambert jamillambert marked this pull request as ready for review May 29, 2025 08:05
@jamillambert
Copy link
Collaborator Author

I redid the commits rather than rebase, since it was easier to rerun the rename function I wrote than deal with all the merge conflicts. But the rename function is unchanged so the result should be unchanged except for the additional disconnectnode from #210.

@jamillambert
Copy link
Collaborator Author

Hot. I put in on draft because you mention it in the PR description. But I reviewed and acked anyway.

Thanks, I meant to put it in as draft, but apparently didn't.

Copy link
Member

@tcharding tcharding left a comment

Choose a reason for hiding this comment

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

ACK 1251249

@tcharding tcharding merged commit a06bfa4 into rust-bitcoin:master May 29, 2025
56 of 57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants