Skip to content

Conversation

@guillaumemichel
Copy link
Collaborator

Refactor of closestPeerToPrefix to use a trie to ensure keyspace coverage (instead of binary prefix stack).

@guillaumemichel guillaumemichel requested a review from a team as a code owner September 24, 2025 11:07
@guillaumemichel guillaumemichel mentioned this pull request Sep 23, 2025
49 tasks
@guillaumemichel guillaumemichel marked this pull request as draft September 24, 2025 11:57
@guillaumemichel guillaumemichel marked this pull request as ready for review September 24, 2025 14:42
@guillaumemichel guillaumemichel marked this pull request as draft September 25, 2025 08:14
@guillaumemichel
Copy link
Collaborator Author

After a manual test on the amino DHT, there are still some warnings remaining closestPeersToPrefix needed more than maxPrefixSearches iterations. Investigating on the root cause.

@guillaumemichel guillaumemichel marked this pull request as ready for review September 25, 2025 09:46
Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

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

lgtm, but I've restored the debug level for the exploraiton message to avoid noise on INFO level

@guillaumemichel guillaumemichel merged commit 0114a72 into master Sep 25, 2025
9 checks passed
@guillaumemichel guillaumemichel deleted the refactor/closestPeersToPrefix branch September 25, 2025 15:38
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.

3 participants