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

Nondeterministic PeerID #119

Closed
araskachoi opened this issue Nov 27, 2018 · 2 comments
Closed

Nondeterministic PeerID #119

araskachoi opened this issue Nov 27, 2018 · 2 comments

Comments

@araskachoi
Copy link

What is wrong?

When creating a peerID using the seed, the peerID seems to be non-deterministic. At times, I get one PID but at others, I get another one.

seed=0 : QmS5QmciTXXnCUCyxud5eWFenUMAmvAWSDa1c7dvdXRMZ7 / QmSmiLDiPpVVaduZiWnADC6LBSEEgG2RR5ZjnLCCKoDARa / Qmd8vXqRiFVkcXcB1nigjCDuUyHcFkja6fQcU9w2zMzwwi
seed=1 : QmexAnfpHrhMmAC5UNQVS8iBuUUgDrMbMY17Cck2gKrqeX / Qmeq45rCLjFt573aFKgLrcAmAMSmYy9WXTuetDsELM2r8m
seed=2 : Qmd3wzD2HWA95ZAs214VxnckwkwM4GHJyC6whKUCNQhNvW / QmYpiXBsV6DbJwCnNEeVETKpgdS2yRAGuw82Dd4XdPs5yY / QmXtW5fXrrvmHWPhq3FLHdm4zKnC5FZdhTRynSQT57Yrmd

I had spoken to @mhchia about heard about someone looking into this. I recently got the error connected to wrong peer because the bootnode's PID had changed from Qm...XRMZ7 to Qm...Mzwwi.

@NIC619
Copy link
Collaborator

NIC619 commented Nov 28, 2018

Hmm…this should be fixed by #113 . Can you confirm that you are using the latest branch or one that has #113 merged?

@araskachoi
Copy link
Author

ah, didn't see the pull request for this fix. I had brought it up to @mhchia and was told someone was on it but never got an update on its fix. Thanks a lot for the help!

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