Skip to content

Conversation

@egbertbouman
Copy link
Member

Currently, our main source of torrent discovery is through swarm health information. When we receive an infohash that we haven't seen before, we immediately request the TorrentMetadata. These requests are expected to be mostly successful, because peers only send swarm information if they have the TorrentMetadata as well. It turns out, these requests always fail, because we're requesting an infohash that is double hex-encoded.

After merging this fix, torrent discovery should be fixed. This means that, combined with the earlier tracker fixes, we should be getting more tracker information. So, hopefully, this will also (partially) fix our swarm health problem.

@egbertbouman
Copy link
Member Author

validate

Copy link
Contributor

@qstokkink qstokkink left a comment

Choose a reason for hiding this comment

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

🤯 Wow. Nice find!

@teddyrogers
Copy link

@egbertbouman is this captured in build 178?

@egbertbouman egbertbouman marked this pull request as ready for review October 10, 2025 10:04
@egbertbouman egbertbouman merged commit a7e86f5 into Tribler:main Oct 10, 2025
7 checks passed
@egbertbouman
Copy link
Member Author

@teddyrogers No, not yet. I'll make a new build soon.

@egbertbouman
Copy link
Member Author

The new build: https://github.com/Tribler/tribler/actions/runs/18403318013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants