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

Persist generated key to keystore and reuse existing key if present #213

Merged
merged 4 commits into from
Nov 18, 2021

Conversation

jbowen93
Copy link
Contributor

@jbowen93 jbowen93 commented Nov 18, 2021

identity.go previously created a new key on every run of celestia full init resulting in new PeerIDs each time. Persisting the keys allows us to have persistent PeerIDs.

liamsi
liamsi previously approved these changes Nov 18, 2021
Copy link
Member

@liamsi liamsi left a comment

Choose a reason for hiding this comment

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

👏🏼

libs/keystore/fs_keystore.go Show resolved Hide resolved
node/p2p/identity.go Outdated Show resolved Hide resolved
libs/keystore/map_keystore.go Show resolved Hide resolved
@renaynay renaynay requested review from liamsi and Wondertan November 18, 2021 19:16
Copy link
Member

@renaynay renaynay left a comment

Choose a reason for hiding this comment

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

leggo

@Bidon15 Bidon15 merged commit 7dccb19 into main Nov 18, 2021
@Bidon15 Bidon15 deleted the identity branch November 18, 2021 19:26
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.

5 participants