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

feat(libs/pidstore): Implement PeerIDStore #2274

Merged
merged 4 commits into from
Jun 16, 2023

Conversation

renaynay
Copy link
Member

This PR implements a PeerIDStore that will be useful for both dumping useful peers inside of celestia-node's use of p2p.Exchange as well as inside of discovery.

Related to #1851

@renaynay renaynay added the kind:feat Attached to feature PRs label May 30, 2023
@renaynay renaynay requested a review from Wondertan as a code owner May 30, 2023 08:48
@renaynay renaynay self-assigned this May 30, 2023
Co-authored-by: derrandz <ouaghad.hamza@gmail.com>
libs/pidstore/pidstore.go Outdated Show resolved Hide resolved
libs/pidstore/pidstore.go Outdated Show resolved Hide resolved
libs/pidstore/pidstore.go Outdated Show resolved Hide resolved
libs/pidstore/pidstore.go Outdated Show resolved Hide resolved
Co-authored-by: Hlib Kanunnikov <hlibwondertan@gmail.com>
@renaynay renaynay requested a review from Wondertan May 30, 2023 09:54
@renaynay renaynay enabled auto-merge (squash) June 16, 2023 09:55
@codecov-commenter
Copy link

Codecov Report

Merging #2274 (5f35c2a) into main (403eb61) will increase coverage by 0.24%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##             main    #2274      +/-   ##
==========================================
+ Coverage   50.44%   50.68%   +0.24%     
==========================================
  Files         155      156       +1     
  Lines        9826     9856      +30     
==========================================
+ Hits         4957     4996      +39     
+ Misses       4433     4421      -12     
- Partials      436      439       +3     
Impacted Files Coverage Δ
nodebuilder/node.go 58.57% <ø> (ø)
libs/pidstore/pidstore.go 60.00% <60.00%> (ø)

... and 4 files with indirect coverage changes

@renaynay renaynay merged commit 6654cdf into celestiaorg:main Jun 16, 2023
9 of 12 checks passed
@renaynay renaynay deleted the persisted-peerstore branch June 16, 2023 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:feat Attached to feature PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants