Skip to content

Conversation

@jamillambert
Copy link
Collaborator

@jamillambert jamillambert commented Aug 4, 2025

getnodeaddresses returns a node address not a bitcoin address.

Remove the model.

Update the test to create 3 nodes and remove the model. The RPC still returns an empty list with 3 nodes see Issue #320.

getnodeaddresses returns a node Address not a bitcoin Address.

Remove the model.

Update the test to create 3 nodes and remove the model.

Update the types table and verify.
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 da947f1

@tcharding tcharding merged commit 8483376 into rust-bitcoin:master Aug 5, 2025
30 checks passed
tcharding added a commit that referenced this pull request Aug 5, 2025
93ed34f Run the formatter (Jamil Lambert, PhD)
0132f7a 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 93ed34f
  tcharding:
    ACK 93ed34f

Tree-SHA512: 8cd4ca5ae831bb0ff65a00194149b31cf543fbbc23acd29801462bb16b7200a020df51522e0aa787b1da927e3b6e1e33743c4b904b994a64b0ad802ade2a7882
blaze-smith470pm added a commit to blaze-smith470pm/corepc that referenced this pull request Sep 26, 2025
da947f10a10db6ae5dbcb938dd9eef08c75b77a5 Remove getnodeaddresses model (Jamil Lambert, PhD)

Pull request description:

  `getnodeaddresses` returns a node address not a bitcoin address.

  Remove the model.

  Update the test to create 3 nodes and remove the model. The RPC still returns an empty list with 3 nodes see Issue #320.

ACKs for top commit:
  tcharding:
    ACK da947f10a10db6ae5dbcb938dd9eef08c75b77a5

Tree-SHA512: 5d960d19726745d8136557dae271ae8810c4bcc89ec72eeef16e80811bdbbf45f51497670367ab00166403a9f8a5f9561a210944d1c76b84ab69f21e97265389
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