-
Notifications
You must be signed in to change notification settings - Fork 33
[P2P] Initial libp2p integration #500
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
Closed
Closed
Changes from 62 commits
Commits
Show all changes
92 commits
Select commit
Hold shift + click to select a range
972a4c0
chore: add UseLibP2P bool config option
bryanchriswhite 43493ca
chore: add libp2p crypto helpers
bryanchriswhite 5b1e477
chore: error helpers
bryanchriswhite 17e0c46
feat: add libp2p-based module implementation
bryanchriswhite f6a7178
feat: add libp2p-based network implementation
bryanchriswhite b6b7b01
chore: add libp2p transport
bryanchriswhite 698d732
feat: handle direct messages
bryanchriswhite 2fff55c
chore: update deps
bryanchriswhite 98af99e
chore: client integration & debugging
bryanchriswhite 21346be
chore: update localnet configs with new p2p config option
bryanchriswhite fa17153
chore: comments / imports / cleanup
bryanchriswhite c699bbc
fix: update ServiceURL on stream open & refactor
bryanchriswhite 7cfa310
chore: changelog updates
bryanchriswhite d6c7516
chore: add new p2p config option to runtime test
bryanchriswhite dc3d31b
fix: linter issues & cleanup
bryanchriswhite fb75c5f
fix: error logging & cleanup
bryanchriswhite 81da303
fix: hugeParam linter issue
bryanchriswhite 0e2a679
fix: move error helpers pkg
bryanchriswhite 149fa56
fix: changelog typo
bryanchriswhite ae832b6
chore: re-format long method signature
bryanchriswhite 3454be6
fix: use module logger
bryanchriswhite 3a77219
fix: logger naming consistency
bryanchriswhite d524ad0
chore: move libp2p crypto helper
bryanchriswhite c6c0eed
chore: move libp2p crypto helper
bryanchriswhite 8238c34
fix: comment typo
bryanchriswhite dceb1f8
chore: default to dns multiaddr
bryanchriswhite 7930a14
fix: interface check ordering for consistency
bryanchriswhite 5f7c5d1
test: add identity package tests
bryanchriswhite fcdd12f
chore: move libp2p network out of stdnetwork pkg
bryanchriswhite 2303ebc
fixup changelog
bryanchriswhite 2a074de
chore: update error handling todos
bryanchriswhite 8af6c6b
refactor: move libp2p module pkgs to its own top-level dir
bryanchriswhite 58a68eb
chore: todo cleanup
bryanchriswhite 56cfffa
chore: more consistent error messaging
bryanchriswhite 41c1c35
chore: consider config connection type for transport
bryanchriswhite 7d1bb8a
chore: update localnet configs with hostname
bryanchriswhite 00971b6
chore: update TODOs & cleanup
bryanchriswhite c2793a0
chore: disable ping and relay services in client debug mode
bryanchriswhite 19abcc6
chore: factor out getP2PModule helper in debug cmd
bryanchriswhite ce67270
test: add libp2p network tests
bryanchriswhite 8e24db5
chore: update gitignore
bryanchriswhite 76c46ce
fix: update peerstore asap
bryanchriswhite d9a55f5
chore: multi-line long method signatures / calls
bryanchriswhite 312c099
chore: comment improvements
bryanchriswhite 6f9b531
fix: logger typos & usage
bryanchriswhite 5c6742b
chore: simplify module creation
bryanchriswhite 0bedbe3
chore: wrap error
bryanchriswhite 0702865
fix: pokt/libp2p naming inconsistencies
bryanchriswhite 33b4ac3
chore: rename secretKey vars for consistency
bryanchriswhite ed6c1bf
chore: debug cli simplifications
bryanchriswhite 34ba1af
chore: cleanup libp2pNetwork#Send
bryanchriswhite 9ea5abd
chore: cleanup unused types
bryanchriswhite 603f4f6
chore: simplify module creation more
bryanchriswhite 39e7f29
chore: update discuss comment w/ issue #
bryanchriswhite 3b6b7b5
chore: move `use_lib_p2p` to base config
bryanchriswhite 6318c94
revert: default to dns based multiaddr
bryanchriswhite 954011b
chore: disable listening in client debug mode
bryanchriswhite f9584be
fix: client debug mode & listening
bryanchriswhite a6a8f9b
chore: comment cleanup
bryanchriswhite b0dbfec
Merge remote-tracking branch 'pokt/main' into chore/libp2p
bryanchriswhite 395c1ff
chore: add migration path comment to module pkg
bryanchriswhite cb8a52c
chore: add techdebt comments
bryanchriswhite cb331ca
chore: cleanup new module post-merge
bryanchriswhite f53ea6a
refactor: move libp2p error types
bryanchriswhite ce0fa55
test: fix identity and network tests
bryanchriswhite 615fc01
refactor: move transport
bryanchriswhite 5007f2b
chore: comment improvements
bryanchriswhite c9d0bfc
chore: var consolidation and commments
bryanchriswhite 695b376
chore: simplify module and network impl.
bryanchriswhite 0754632
chore: simplify closing stream after reading
bryanchriswhite 9a54974
test: factor out constant string
bryanchriswhite 9032af1
test: cleanup mocks helper
bryanchriswhite bbbf72e
chore: rename `consensus_port` config option to `port`
bryanchriswhite e0b4688
chore: update default port number
bryanchriswhite eb2499b
tests: update default port number
bryanchriswhite 4510318
Merge remote-tracking branch 'pokt/main' into chore/libp2p
bryanchriswhite c1c4ec6
fix: tests missing p2p hostname
bryanchriswhite 186c1b9
Revert "tests: update default port number"
bryanchriswhite 9c76984
chore: add docker_wipe_volumes make target
bryanchriswhite fe6093b
fixup: update default port number
bryanchriswhite d55b84e
refactor: simplify network
bryanchriswhite 973f38d
fix: linter issues
bryanchriswhite ad6fdd5
fix: network test
bryanchriswhite 3d42d28
chore: convert multiaddr to URL when stored as URL
bryanchriswhite 9f3fe09
chore: improve & cleanup comments
bryanchriswhite 26d35ff
chore: improve logging
bryanchriswhite 4ce58a7
chore: vars to consts and unexport
bryanchriswhite 1aae08e
chore: improve naming
bryanchriswhite 916f987
chore: add nolints
bryanchriswhite e627250
fix: runtime manager test
bryanchriswhite 4effd1e
chore: simplify & cleanup network / tests
bryanchriswhite aaf62ec
Merge remote-tracking branch 'pokt/main' into chore/libp2p
bryanchriswhite 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.