Skip to content

Address all TODO in v27 - #318

Merged
tcharding merged 2 commits into
rust-bitcoin:masterfrom
jamillambert:0801-v27-TODO
Aug 5, 2025
Merged

tcharding merged 2 commits into
rust-bitcoin:masterfrom
jamillambert:0801-v27-TODO

Conversation

@jamillambert

@jamillambert jamillambert commented Aug 1, 2025 •

Copy link
Copy Markdown
Collaborator

Go through all the TODO in the v26 types table.

  • Redefine getnodeaddresses: There were return field changes in v27. Redefine the struct and update the reexports. Update the types tables.
  • Run the formatter: Done separately to make it easier to see the changes in patch 1.

DRAFT because on top of #321. This PR is the last 2 patches.

Comment thread types/src/model/network.rs Outdated
@@ -96,4 +96,6 @@ pub struct NodeAddress {
pub address: Address<NetworkUnchecked>,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ha, we botched this when added in #191. I wrote some comments on that issue.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in #321

tcharding
tcharding previously approved these changes Aug 5, 2025

@tcharding tcharding left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ACK cf4694c

@jamillambert
jamillambert dismissed tcharding’s stale review August 5, 2025 03:51

The merge-base changed after approval.

tcharding
tcharding previously approved these changes Aug 5, 2025

@tcharding tcharding left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ACK cf4694c

@tcharding

Copy link
Copy Markdown
Member

Trivial rebase, no conflicts.

@jamillambert
jamillambert dismissed tcharding’s stale review August 5, 2025 07:39

The merge-base changed after approval.

The return fields changed in v27.

Redefine the type in v27, update reexports.
Reordering of reexports only.
@jamillambert

Copy link
Copy Markdown
Collaborator Author

Rebased, no changes

@jamillambert
jamillambert marked this pull request as ready for review August 5, 2025 08:29
@jrakibi

jrakibi commented Aug 5, 2025

Copy link
Copy Markdown

ACK 93ed34f

@tcharding tcharding left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ACK 93ed34f

@tcharding
tcharding merged commit 5af7bb0 into rust-bitcoin:master Aug 5, 2025
blaze-smith470pm added a commit to blaze-smith470pm/corepc that referenced this pull request Sep 26, 2025
93ed34fc0dbc437685ec797f1437112d49589f21 Run the formatter (Jamil Lambert, PhD)
0132f7a7617009ad2cc61a1ac7007eb6ab6adbee Redefine getnodeaddresses in v27 (Jamil Lambert, PhD)

Pull request description:

  Go through all the TODO in the v26 types table.

  - Redefine `getnodeaddresses`: There were return field changes in v27. Redefine the struct and update the reexports. Update the types tables.
  - Run the formatter: Done separately to make it easier to see the changes in patch 1.

  DRAFT because on top of #321. This PR is the last 2 patches.

ACKs for top commit:
  jrakibi:
    ACK 93ed34fc0dbc437685ec797f1437112d49589f21
  tcharding:
    ACK 93ed34fc0dbc437685ec797f1437112d49589f21

Tree-SHA512: 8cd4ca5ae831bb0ff65a00194149b31cf543fbbc23acd29801462bb16b7200a020df51522e0aa787b1da927e3b6e1e33743c4b904b994a64b0ad802ade2a7882
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.

3 participants