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

Unslab closestNodes in PeerDiscovery #181

Merged
merged 2 commits into from
Jul 26, 2024
Merged

Unslab closestNodes in PeerDiscovery #181

merged 2 commits into from
Jul 26, 2024

Conversation

HDegroote
Copy link
Contributor

Currently they retain the 68kb udx buffers.

Warning: this modifies the Query.closestNodes objects. If this is potentially an issue, I can copy over the entire entry (so including host and port), which isn't much more work.

Alternatively, this could be solved at dht-rpc's Query level, which is a more general solution (but might do more unneeded copying).

@HDegroote
Copy link
Contributor Author

Fixed upstream in dht-rpc 6.12.0, so no need to change hyperswarm itself (test can still be useful though)

@mafintosh mafintosh merged commit 04b2004 into main Jul 26, 2024
4 checks passed
@mafintosh mafintosh deleted the unslab-peer-discovery branch July 26, 2024 10:52
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