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

Add unique, persistent node ID #79

Merged
merged 1 commit into from
Aug 25, 2022
Merged

Add unique, persistent node ID #79

merged 1 commit into from
Aug 25, 2022

Conversation

benbjohnson
Copy link
Collaborator

This pull request adds a randomly generated 24-character hex ID for the node that is persisted to the data directory. It helps identify the node across restarts and it prevents the node from connecting to itself.

Helps with #76

@benbjohnson benbjohnson marked this pull request as ready for review August 25, 2022 20:15
@benbjohnson benbjohnson merged commit dd6e73e into main Aug 25, 2022
@benbjohnson benbjohnson deleted the node-id branch August 25, 2022 20:18
@benbjohnson benbjohnson added this to the v0.2.0 milestone Nov 16, 2022
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.

None yet

1 participant