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(c-bindings): custom gossipsub params #489

Merged
merged 2 commits into from
Mar 10, 2023

Conversation

richard-ramos
Copy link
Member

@richard-ramos richard-ramos commented Mar 10, 2023

Fixes #470

@status-im-auto
Copy link

status-im-auto commented Mar 10, 2023

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 3acec29 #1 2023-03-10 14:37:42 ~1 min linux 📦deb
✔️ 3acec29 #1 2023-03-10 14:38:33 ~1 min nix-flake 📄log
✔️ 3acec29 #1 2023-03-10 14:40:53 ~4 min android 📦tgz
✔️ 3acec29 #1 2023-03-10 14:57:42 ~21 min ios 📦tgz
✔️ c185dcb #2 2023-03-10 16:09:20 ~1 min linux 📦deb
✔️ c185dcb #2 2023-03-10 16:10:16 ~2 min nix-flake 📄log
✔️ c185dcb #2 2023-03-10 16:11:52 ~3 min android 📦tgz
✔️ c185dcb #2 2023-03-10 16:15:09 ~6 min ios 📦tgz

mobile/config.go Outdated

// HistoryLength controls the size of the message cache used for gossip.
// The message cache will remember messages for HistoryLength heartbeats.
HistoryLength *int `json:"HistoryLength,omitempty"`
Copy link

Choose a reason for hiding this comment

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

wakuConfig has different json naming style (like json:"keepAliveInterval,omitempty"). Maybe GossipSubParams should use the same style (with lowercase "h" in json:"HistoryLength,omitempty")? Same could be applied to all the params in this struct.

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed in c185dcb

@richard-ramos richard-ramos merged commit 3c4a863 into master Mar 10, 2023
@richard-ramos richard-ramos deleted the library-custom-gossipsub-params branch March 10, 2023 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature request(c-bindings): expose pubsub config parameters
3 participants