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: dont' filter out bootnodes #860

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

richard-ramos
Copy link
Member

Description

This avoids the problem described in waku-org/nwaku#2162

@status-im-auto
Copy link

status-im-auto commented Nov 2, 2023

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 00f208d #1 2023-11-02 19:13:11 ~1 min nix-flake 📄log
✔️ 00f208d #1 2023-11-02 19:14:50 ~3 min tests 📄log
✔️ 00f208d #1 2023-11-02 19:14:59 ~3 min tests 📄log
✔️ 00f208d #1 2023-11-02 19:15:54 ~4 min android 📦tgz
✔️ 00f208d #1 2023-11-02 19:25:05 ~13 min ios 📦tgz
✔️ 00f208d #2 2023-11-03 04:46:17 ~2 min linux 📦deb

Copy link
Collaborator

@chaitanyaprem chaitanyaprem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@harsh-98
Copy link
Contributor

harsh-98 commented Nov 3, 2023

lgtm. One question, why is defaultPredicate exposed?

@richard-ramos
Copy link
Member Author

lgtm. One question, why is defaultPredicate exposed?

I was thinking that someone using the PeerIterator function might be interested in also have a predicate that does the filtering of shards discv5 does by default. Perhaps it could even be used here

iterator, err := wakuPX.disc.PeerIterator()
as I see there's no particular filtering being applied to the nodes being returned by discv5

@richard-ramos richard-ramos merged commit e0c6ab8 into master Nov 3, 2023
13 checks passed
@richard-ramos richard-ramos deleted the feat/dont-filter-out-bootnodes branch November 3, 2023 13:23
@jm-clius
Copy link

jm-clius commented Nov 3, 2023

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

5 participants