Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Peer ID personalization #5

Merged
merged 5 commits into from
Aug 7, 2023
Merged

Peer ID personalization #5

merged 5 commits into from
Aug 7, 2023

Conversation

Lilit0x
Copy link
Contributor

@Lilit0x Lilit0x commented Aug 5, 2023

This PR solves the issue of getting a random peer id. A peer id can now be deterministic by setting a value we call seed key in the config file.
Check the readme for instructions.

@Lilit0x Lilit0x self-assigned this Aug 5, 2023
@Lilit0x Lilit0x marked this pull request as draft August 5, 2023 07:15
@codecov
Copy link

codecov bot commented Aug 5, 2023

Codecov Report

Merging #5 (c7a008b) into main (f716234) will increase coverage by 1.43%.
The diff coverage is 86.88%.

@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
+ Coverage   66.16%   67.60%   +1.43%     
==========================================
  Files          11       11              
  Lines        1005     1062      +57     
==========================================
+ Hits          665      718      +53     
- Misses        340      344       +4     
Files Changed Coverage Δ
share/src/network/hole_puncher.rs 0.00% <0.00%> (ø)
share/src/config.rs 83.26% <91.07%> (+2.47%) ⬆️
share/src/handlers/security.rs 97.45% <100.00%> (+0.01%) ⬆️
share/src/item/mod.rs 86.61% <100.00%> (+0.09%) ⬆️

@Lilit0x Lilit0x requested a review from dantelex August 5, 2023 08:45
@Lilit0x Lilit0x marked this pull request as ready for review August 5, 2023 08:46
@Lilit0x Lilit0x mentioned this pull request Aug 7, 2023
@Lilit0x Lilit0x merged commit fe0a810 into main Aug 7, 2023
14 checks passed
@Lilit0x Lilit0x deleted the feat/peer_id branch August 7, 2023 13:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants