-
Notifications
You must be signed in to change notification settings - Fork 54
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
refactor: P2P client interface #1924
Merged
nasdf
merged 37 commits into
sourcenetwork:develop
from
nasdf:nasdf/refactor/p2p-client-interface
Oct 16, 2023
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
022af8f
fix typo
nasdf a49626a
add client.P2P interface stubs to net.Peer
nasdf 346fbce
remove P2P interface functions from db. implement P2P interface funct…
nasdf 55e2f21
net package tests passing
nasdf 1c3f4e1
remove grpc config
nasdf 175c5a8
split p2p interface in cli and http. fix failing tests
nasdf 292150c
clean up http handler constructor func
nasdf 13f2fff
update p2p interface with test methods temporarily
nasdf 1cfdda3
move integration test setup to new file
nasdf c55ea7e
fix nil cancel in node close
nasdf 1ec5f38
integration tests passing
nasdf e5b7b53
fix linter errors
nasdf eb04aed
implement PeerInfo method in cli wrapper
nasdf ab11b65
fix incorrect context key usage in cli
nasdf 78ac2cb
restore node addresses on restart in tests
nasdf f3887a4
fix node restart address logic in tests
nasdf 5c2d60b
move test functions from p2p interface to tests/clients. disable p2p …
nasdf 2a01990
fix race condition in test
nasdf 7e6bb4f
add replicator delete test
nasdf 94a7b8b
remove flaky logging asserts from net package
nasdf 592e411
Merge branch 'develop' into nasdf/refactor/p2p-client-interface
nasdf 687f0e2
Merge branch 'develop' into nasdf/refactor/p2p-client-interface
nasdf fa6b67e
restore peer subscribe tests
nasdf 8cca432
add replicator cli examples
nasdf 4be14e7
update readme p2p examples to reflect changes
nasdf edb9249
fix incorrect readme cli command
nasdf b907f30
remove grpc flag from readme
nasdf 25139aa
improve cli replicator docs
nasdf 580f016
split tests setup into db and client files
nasdf 4532bfd
fix replicator example in readme
nasdf 6ec4577
split test init logic into client and db files
nasdf 76c9b5f
panic if cli test wrapper peer info fails
nasdf 03d2a6e
Squashed commit of the following:
nasdf a96746c
Merge branch 'develop' into nasdf/refactor/p2p-client-interface
nasdf b967436
Merge branch 'develop' into nasdf/refactor/p2p-client-interface
nasdf abf2af3
possible fix for node restart race condition in tests
nasdf 40b2603
Merge branch 'develop' into nasdf/refactor/p2p-client-interface
nasdf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
praise: Thank you for adding this!