Skip to content

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
blaze-smith470pm added a commit to blaze-smith470pm/corepc that referenced this pull request Sep 26, 2025
…nderscore between words

1251249468e1671fb32e8ce155b8c9b65b36d309 Rename all macros to have underscores (Jamil Lambert, PhD)
107e2fab0fefd8318cd4e385535670e194e9ad40 Move client modules into subfolders (Jamil Lambert, PhD)

Pull request description:

  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.

ACKs for top commit:
  tcharding:
    ACK 1251249468e1671fb32e8ce155b8c9b65b36d309

Tree-SHA512: ec4a40fd2de413d5997cd7fdf9c2e007aa621eeb80262c3ebebf7d7ffce5b823fd1866a6370829411c78da0362deafd67de34be135a4fb1987312c95c5725b18
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