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(libwaku): ping peer #3144

Merged
merged 2 commits into from
Oct 24, 2024
Merged

feat(libwaku): ping peer #3144

merged 2 commits into from
Oct 24, 2024

Conversation

richard-ramos
Copy link
Member

Description

Adds a function to ping peers via bindings

int waku_ping_peer(void* ctx,
                        const char* peerAddr,
                        int timeoutMs,
                        WakuCallBack callback,
                        void* userData);

This is required in status-go for the storenode cycle, in which a storenode is selected based on ping RTT

Copy link

github-actions bot commented Oct 23, 2024

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:3144

Built from 3198378

Copy link
Collaborator

@Ivansete-status Ivansete-status left a comment

Choose a reason for hiding this comment

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

Wonderful! Thanks for it! 🙌

Copy link
Contributor

@gabrielmer gabrielmer left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
@richard-ramos richard-ramos merged commit de11e57 into master Oct 24, 2024
9 of 11 checks passed
@richard-ramos richard-ramos deleted the libwaku/pingpeer branch October 24, 2024 13:07
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.

3 participants