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: register for local node's reachability change #651

Merged
merged 3 commits into from
Aug 20, 2023

Conversation

chaitanyaprem
Copy link
Collaborator

@chaitanyaprem chaitanyaprem commented Aug 18, 2023

Description

Register to listen for local Node reachability status and log when there are changes to it(Similar to waku-org/nwaku#1472. ). Reachability is determined with help of AutoNAT service.
Note that some deviations would be there due to go-libp2p implementation of AutoNAT.

Changes

  • Register to go-libp2p's EvtLocalReachabilityChanged event and monitor for changes and write info log.

@chaitanyaprem chaitanyaprem changed the title feat:Register for reachability change and log status feat:Register for local node's reachability change Aug 18, 2023
@chaitanyaprem chaitanyaprem mentioned this pull request Aug 18, 2023
7 tasks
@status-im-auto
Copy link

status-im-auto commented Aug 18, 2023

Jenkins Builds

Click to see older builds (12)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 6d40603 #1 2023-08-18 09:35:05 ~1 min linux 📦deb
✖️ 6d40603 #1 2023-08-18 09:35:11 ~1 min tests 📄log
✖️ 6d40603 #1 2023-08-18 09:35:12 ~1 min tests 📄log
✔️ 6d40603 #1 2023-08-18 09:35:40 ~1 min nix-flake 📄log
✔️ 6d40603 #1 2023-08-18 09:38:04 ~4 min ios 📦tgz
✔️ 6d40603 #1 2023-08-18 09:38:08 ~4 min android 📦tgz
✖️ 30df82a #2 2023-08-18 09:37:02 ~23 sec tests 📄log
✔️ 30df82a #2 2023-08-18 09:37:06 ~31 sec linux 📦deb
✖️ 30df82a #2 2023-08-18 09:38:14 ~1 min tests 📄log
✔️ 30df82a #2 2023-08-18 09:38:32 ~1 min nix-flake 📄log
✔️ 30df82a #2 2023-08-18 09:40:46 ~4 min ios 📦tgz
✔️ 30df82a #2 2023-08-18 09:41:25 ~3 min android 📦tgz
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 14a1874 #3 2023-08-18 09:39:37 ~37 sec linux 📦deb
✔️ 14a1874 #3 2023-08-18 09:40:42 ~1 min tests 📄log
✔️ 14a1874 #3 2023-08-18 09:40:55 ~1 min tests 📄log
✔️ 14a1874 #3 2023-08-18 09:41:01 ~2 min nix-flake 📄log
✔️ 14a1874 #3 2023-08-18 09:42:23 ~3 min ios 📦tgz
✔️ 14a1874 #3 2023-08-18 09:44:27 ~2 min android 📦tgz
✔️ e72dc76 #4 2023-08-19 08:16:10 ~1 min linux 📦deb
✔️ e72dc76 #4 2023-08-19 08:16:48 ~1 min nix-flake 📄log
✔️ e72dc76 #4 2023-08-19 08:17:33 ~2 min tests 📄log
✔️ e72dc76 #4 2023-08-19 08:18:01 ~3 min tests 📄log
✔️ e72dc76 #4 2023-08-19 08:18:45 ~3 min android 📦tgz
✔️ e72dc76 #4 2023-08-19 08:20:28 ~5 min ios 📦tgz

waku/v2/node/localnode.go Outdated Show resolved Hide resolved
waku/v2/node/localnode.go Outdated Show resolved Hide resolved
@richard-ramos richard-ramos changed the title feat:Register for local node's reachability change feat: register for local node's reachability change Aug 18, 2023
@chaitanyaprem chaitanyaprem merged commit 8a9c4d6 into master Aug 20, 2023
11 checks passed
@chaitanyaprem chaitanyaprem deleted the feat/reachabilitiy-status branch August 20, 2023 12:36
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.

3 participants