Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CJDNS marker byte check #2546

Merged
merged 1 commit into from Mar 7, 2024

Conversation

achow101
Copy link
Contributor

@achow101 achow101 commented Mar 6, 2024

Only the first byte of a CJDNS address is 0xfc, the second byte should be ignored.

See https://github.com/hyperboria/peers for examples of CJDNS addresses.

Only the first byte of a CJDNS address is 0xfc, the second byte should
be ignored.
@github-actions github-actions bot added the C-bitcoin PRs modifying the bitcoin crate label Mar 6, 2024
Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK ec67456

@coveralls
Copy link

Pull Request Test Coverage Report for Build 8177262690

Details

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 83.858%

Totals Coverage Status
Change from base Build 8176542356: 0.0%
Covered Lines: 19460
Relevant Lines: 23206

💛 - Coveralls

Copy link
Member

@sanket1729 sanket1729 left a comment

Choose a reason for hiding this comment

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

urACK ec67456.

Copy link
Collaborator

@Kixunil Kixunil left a comment

Choose a reason for hiding this comment

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

ACK ec67456

@apoelstra apoelstra merged commit 1ac7c29 into rust-bitcoin:master Mar 7, 2024
187 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bitcoin PRs modifying the bitcoin crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants