Skip to content

Conversation

@jamillambert
Copy link
Collaborator

@jamillambert jamillambert commented Sep 9, 2025

Some of the structs and enums are not in alphabetical order.

  • Order them all by the RPC name, with sub structs directly below. Code moves only, no content changes.

Two structs had incorrect RPC names in their rustdocs.

  • Correct the rustdocs.

@tcharding
Copy link
Member

I'm surprised the last patch is so small, I read the PR description and expected an epic change set. I went to a fair bit of trouble to put all types in the same order as the method appears in the Core docs output (i.e., the rustdocs mod.rs and verify/src/rcp-api-vXY.txt).

Two structs had incorrect RPC names in their rustdocs.

Correct them.
Some of the structs and enums are not in alphabetical order.

Order them all by the RPC name, with sub structs directly below.

Code moves only, no content changes.
@jamillambert jamillambert force-pushed the 0909-types-alphabetical branch from 69628dc to 0ef4ea1 Compare September 10, 2025 10:30
@jamillambert jamillambert marked this pull request as ready for review September 10, 2025 10:30
@jamillambert
Copy link
Collaborator Author

Rebased on master.

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 0ef4ea1

@tcharding tcharding merged commit 44692b5 into rust-bitcoin:master Sep 10, 2025
30 checks passed
@tcharding
Copy link
Member

I edited the PR description to remove draft comment before I merged.

blaze-smith470pm added a commit to blaze-smith470pm/corepc that referenced this pull request Sep 26, 2025
…order

0ef4ea1515e57082525cae1c760fea5a599c622c Reorder types structs and enums (Jamil Lambert, PhD)
3fc512d201555bacc883a9c8f06dd829e5eb47ae Fix RPC names in rustdocs (Jamil Lambert, PhD)

Pull request description:

  Some of the structs and enums are not in alphabetical order.

  - Order them all by the RPC name, with sub structs directly below. Code moves only, no content changes.

  Two structs had incorrect RPC names in their rustdocs.

  - Correct the rustdocs.

  Draft because on top of #535. This PR is the last 2 patches.

ACKs for top commit:
  tcharding:
    ACK 0ef4ea1515e57082525cae1c760fea5a599c622c

Tree-SHA512: 6a416db121bb839a27c0e72a0ab44cc0856009dc73a3bb0ae1bdf77857c01255e8d0ad6ea23fe6b511d28986fbc3a3ff81cae1cc3613f1f6fcefd0c2a3e840e6
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