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

Refactor routability logic and handle broadcast ip #227

Merged

Conversation

coderofstuff
Copy link
Collaborator

@coderofstuff coderofstuff commented Jul 19, 2023

  • Return false for broadcast IPs
  • Use available stable helper functions for routability check

is_global was considered as mentioned in #222 (comment) but that method is currently marked as unstabled and can't be used yet.

- Return false for broadcast IPs
- Use available stable helper functions for routability check
@coderofstuff coderofstuff force-pushed the coderofstuff/publicly-routable-fix branch from d6df94d to a90f35a Compare July 20, 2023 15:44
@michaelsutton michaelsutton merged commit 5cf2ed8 into kaspanet:master Jul 20, 2023
5 checks passed
@coderofstuff coderofstuff deleted the coderofstuff/publicly-routable-fix branch January 27, 2024 08:32
smartgoo pushed a commit to smartgoo/rusty-kaspa that referenced this pull request Jun 18, 2024
- Return false for broadcast IPs
- Use available stable helper functions for routability check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants