feat: supporting peer exchange with nwaku#5983
Merged
gabrielmer merged 18 commits intofeature/nwaku-in-statusfrom Oct 25, 2024
Merged
feat: supporting peer exchange with nwaku#5983gabrielmer merged 18 commits intofeature/nwaku-in-statusfrom
gabrielmer merged 18 commits intofeature/nwaku-in-statusfrom
Conversation
|
We require commits to follow the Conventional Commits, but with |
gabrielmer
commented
Oct 23, 2024
Comment on lines
+372
to
+387
| Host string `json:"host,omitempty"` | ||
| Port int `json:"port,omitempty"` | ||
| NodeKey string `json:"key,omitempty"` | ||
| EnableRelay bool `json:"relay"` | ||
| LogLevel string `json:"logLevel"` | ||
| DnsDiscovery bool `json:"dnsDiscovery,omitempty"` | ||
| DnsDiscoveryUrl string `json:"dnsDiscoveryUrl,omitempty"` | ||
| MaxMessageSize string `json:"maxMessageSize,omitempty"` |
Contributor
Author
There was a problem hiding this comment.
Not sure why this happens, in my IDE looks aligned, is there a linting tool I should use?
Member
There was a problem hiding this comment.
In vscode, when installing the go extension, it asks to install gofmt then the linting happens automagically
Member
Jenkins BuildsClick to see older builds (15)
|
Ivansete-status
approved these changes
Oct 23, 2024
Contributor
Ivansete-status
left a comment
There was a problem hiding this comment.
Wonderful! Thanks for it! 🙌
richard-ramos
approved these changes
Oct 24, 2024
65e19e7 to
2b5b1f3
Compare
❌ 1 Tests Failed:
View the top 1 failed tests by shortest run time
To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard |
richard-ramos
pushed a commit
that referenced
this pull request
Oct 29, 2024
richard-ramos
pushed a commit
that referenced
this pull request
Dec 18, 2024
- some minor progress to add nwaku in status-go - nwaku.go: GetNumConnectedPeers controls when passed pubsub is empty - waku_test.go: adapt TestWakuV2Store - add missing shard.go - feat_: build nwaku with nix and use build tags to choose between go-waku and nwaku (#5896) - chore_: update nwaku - nwaku bump (#5911) - bump: nwaku - chore: add USE_NWAKU env flag - fix: build libwaku only if needed - feat: testing discovery and dialing with nwaku integration (#5940) - message publisher and sent verifier (#5966) - storenode requestor for missing message retrieval and result iterator impl (#5971) - uncomment code that would allow status-go/go-waku to compile and libwaku test to run (#5986) - supporting peer exchange with nwaku (#5983) - store queries - ping - ping storenodes using AddrInfo (#6004) - dial, drop and retrieve connected peers (#6013) - integrate on-demand DNS discovery and implement discoverAndConnectPeers (#6017) - extract libwaku calls into WakuNode struct (#6027) - async nwaku - remove nwaku process loop - receive messages via relay (#6185) - extract timeout from context - use correct port field, get free ports and uncomment some functions (#6200) - enable filter/lightpush/px and setup rate limits - add protected topics
richard-ramos
pushed a commit
that referenced
this pull request
Dec 18, 2024
- some minor progress to add nwaku in status-go - nwaku.go: GetNumConnectedPeers controls when passed pubsub is empty - waku_test.go: adapt TestWakuV2Store - add missing shard.go - feat_: build nwaku with nix and use build tags to choose between go-waku and nwaku (#5896) - chore_: update nwaku - nwaku bump (#5911) - bump: nwaku - chore: add USE_NWAKU env flag - fix: build libwaku only if needed - feat: testing discovery and dialing with nwaku integration (#5940) - message publisher and sent verifier (#5966) - storenode requestor for missing message retrieval and result iterator impl (#5971) - uncomment code that would allow status-go/go-waku to compile and libwaku test to run (#5986) - supporting peer exchange with nwaku (#5983) - store queries - ping - ping storenodes using AddrInfo (#6004) - dial, drop and retrieve connected peers (#6013) - integrate on-demand DNS discovery and implement discoverAndConnectPeers (#6017) - extract libwaku calls into WakuNode struct (#6027) - async nwaku - remove nwaku process loop - receive messages via relay (#6185) - extract timeout from context - use correct port field, get free ports and uncomment some functions (#6200) - enable filter/lightpush/px and setup rate limits - add protected topics
richard-ramos
pushed a commit
that referenced
this pull request
Dec 18, 2024
- some minor progress to add nwaku in status-go - nwaku.go: GetNumConnectedPeers controls when passed pubsub is empty - waku_test.go: adapt TestWakuV2Store - add missing shard.go - feat_: build nwaku with nix and use build tags to choose between go-waku and nwaku (#5896) - chore_: update nwaku - nwaku bump (#5911) - bump: nwaku - chore: add USE_NWAKU env flag - fix: build libwaku only if needed - feat: testing discovery and dialing with nwaku integration (#5940) - message publisher and sent verifier (#5966) - storenode requestor for missing message retrieval and result iterator impl (#5971) - uncomment code that would allow status-go/go-waku to compile and libwaku test to run (#5986) - supporting peer exchange with nwaku (#5983) - store queries - ping - ping storenodes using AddrInfo (#6004) - dial, drop and retrieve connected peers (#6013) - integrate on-demand DNS discovery and implement discoverAndConnectPeers (#6017) - extract libwaku calls into WakuNode struct (#6027) - async nwaku - remove nwaku process loop - receive messages via relay (#6185) - extract timeout from context - use correct port field, get free ports and uncomment some functions (#6200) - enable filter/lightpush/px and setup rate limits - add protected topics
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixing and testing Peer Exchange support using nwaku.
The test
TestPeerExchangeshould work once the following nwaku PRs are merged:Once they are merged, I will update the nwaku submodule in this PR and it will be ready to be merged
Important changes:
waku_get_my_peeridandwaku_get_peerids_from_peerstorelibwaku's functionsWakuConfigwith more nwaku configurationsTestPeerExchangeOnce the nwaku submodule is updated and libwaku is recompiled, you can run the test by executing
Closes logos-messaging/logos-delivery#3115