Skip to content

Fix a few missed cases of "vXY and later only" in types#517

Merged
tcharding merged 2 commits intorust-bitcoin:masterfrom
jamillambert:0224-types-docs
Feb 24, 2026
Merged

Fix a few missed cases of "vXY and later only" in types#517
tcharding merged 2 commits intorust-bitcoin:masterfrom
jamillambert:0224-types-docs

Conversation

@jamillambert
Copy link
Collaborator

#513 missed a few cases of "vXY and later only" comments that had different wording and didn't come up in the grep. Do a more general search and fix what is found.

One of the fields in types for PeerInfo was marked as "(deprecated in v0.21)" and set as an option in v22 and v26. The field is not in the RPC docs for either v22 or v26 and the tests pass with it being removed.

  • Remove the deprecated whitelisted field from PeerInfo.
  • Tidy up the docs.

Remove some remaining version ranges from the RPC fields.
Add missing full stops.
Change the docs of two into_model functions to match the rest of them.
One of the fields in types for PeerInfo was marked as "(deprecated in
v0.21)" and set as an option in v22 and v26. The field is not in the RPC
docs for wither v22 or v26 and the tests pass with it being removed.

Remove the deprecated `whitelisted` field from `PeerInfo`.
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 c803543

@tcharding tcharding merged commit a7253d9 into rust-bitcoin:master Feb 24, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants