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

Do not include unknown neighbors #5

Merged
merged 3 commits into from
Feb 26, 2024
Merged

Conversation

teogeb
Copy link
Collaborator

@teogeb teogeb commented Feb 26, 2024

The topology doesn't include unknown neighbors: if we don't have a NodeInfo item for a neighbor, we remove it from the neighbor list.

Refactoring

Changed internal data structure of Topology#nodes.

@teogeb teogeb requested a review from harbu February 26, 2024 07:23
src/crawler/Topology.ts Outdated Show resolved Hide resolved
test/Topology.test.ts Outdated Show resolved Hide resolved
@teogeb teogeb requested a review from harbu February 26, 2024 10:04
@teogeb teogeb merged commit fa1a2e0 into main Feb 26, 2024
3 checks passed
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