Skip to content

Conversation

mimol91
Copy link
Contributor

@mimol91 mimol91 commented Aug 9, 2025

When any of the registered peers is unavailable remove it from the list

Related to: #3


Peers registration / removal is not concurrent safe - I've kept it as it is to do not overcomplicate it
I've decreased peer discovery interval in test - as sometimes peerdiscovery test were not passed. (It can be solved with upcoming synctest in go 1.25)

@mimol91
Copy link
Contributor Author

mimol91 commented Aug 16, 2025

@volodymyrprokopyuk Do you think it's worth to merge?

@volodymyrprokopyuk
Copy link
Owner

Hi, @mimol91! Grate work! I've added some comments to your code. Once resolved the above comments, I'll merge you work! Thank you!

@mimol91
Copy link
Contributor Author

mimol91 commented Aug 17, 2025

@volodymyrprokopyuk Thanks for the project. It teaches how blockchain works in really nice way.

@volodymyrprokopyuk volodymyrprokopyuk merged commit 3f6e941 into volodymyrprokopyuk:main Aug 17, 2025
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.

2 participants