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

Implement a way to update the seeder address on the tracker #6

Open
aburdulescu opened this issue Oct 16, 2020 · 1 comment
Open

Implement a way to update the seeder address on the tracker #6

aburdulescu opened this issue Oct 16, 2020 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@aburdulescu
Copy link
Owner

aburdulescu commented Oct 16, 2020

Problem:

If the seeder changes its address, the tracker will not be aware of this change and it will store the invalid address.

Solution:

Each seeder sends to the tracker a unique ID(based on its MAC maybe? or a hash of a private key?) along with its address.
When the seeder changes address, it sends it and the ID to the tracker and the tracker updates the address for the corresponding ID.

@aburdulescu aburdulescu self-assigned this Oct 16, 2020
@aburdulescu aburdulescu removed their assignment Nov 1, 2020
@aburdulescu
Copy link
Owner Author

Use google/uuid for ID and save it on disk.

@aburdulescu aburdulescu self-assigned this Dec 27, 2020
@aburdulescu aburdulescu added the bug Something isn't working label Dec 27, 2020
@aburdulescu aburdulescu added this to the v0.1 milestone Dec 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant