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

same user/repo ? #85

Open
renanyoy opened this issue Sep 12, 2018 · 1 comment
Open

same user/repo ? #85

renanyoy opened this issue Sep 12, 2018 · 1 comment

Comments

@renanyoy
Copy link

how gittorent protocol handle 2 persons using exactly the same name: "user/repo" for 2 different repos ?

@cjb
Copy link
Owner

cjb commented Sep 14, 2018

There are two ways to look up a user: their public key, or a name (e.g. "cjb") registered as assigned to that public key on the Bitcoin blockchain.

Two users can't have the same username, because the blockchain adjudicates which of the two users asked for that name first, and it is owned by that user and not the later one.

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

No branches or pull requests

2 participants