-
Notifications
You must be signed in to change notification settings - Fork 906
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
Seeker autoconnect #7798
Seeker autoconnect #7798
Commits on Nov 22, 2024
-
common/test: fix -O3 compile error with gcc-12 (Ubuntu 12.3.0-17ubunt…
…u1) 12.3.0 ``` common/test/run-splice_script.c: In function ‘main’: common/test/run-splice_script.c:349:17: error: ‘%.*s’ directive argument is null [-Werror=format-overflow=] 349 | printf("%.*s\n", (int)len, str); | ^~~~ cc1: all warnings being treated as errors make: *** [Makefile:297: common/test/run-splice_script.o] Error 1 make: *** Waiting for unfinished jobs.... ``` Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 8b948af - Browse repository at this point
Copy the full SHA 8b948afView commit details -
gossipd: seeker: allocate gossiper array at init
This will let us change the default gossipers at runtime
Configuration menu - View commit details
-
Copy full SHA for 4822544 - Browse repository at this point
Copy the full SHA 4822544View commit details -
gossipd: add request to connect to new gossip peer
Gossipd uses this to ask lightningd -> connectd to initiate a connection to a new gossip peer. This can be used when there are insufficient peers already connected to gossip with. Changelog-Changed: Gossipd can now request connections to additional nodes for improved gossip sync
Configuration menu - View commit details
-
Copy full SHA for e40cd5f - Browse repository at this point
Copy the full SHA e40cd5fView commit details -
gossipd: seeker: select random peer and tell lightningd
This does not validate a node announcement and address, but it does select a node at random from the gossmap and asks lightningd to attempt a connection to it.
Configuration menu - View commit details
-
Copy full SHA for 42faa9f - Browse repository at this point
Copy the full SHA 42faa9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0f7e16 - Browse repository at this point
Copy the full SHA c0f7e16View commit details -
lightningd: add option for minimum seeker autoconnect peers
Changelog-added: Added option --autoconnect-seeker-peers, allowing seeker to reach out to new nodes for additional gossip.
Configuration menu - View commit details
-
Copy full SHA for c119cc1 - Browse repository at this point
Copy the full SHA c119cc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for cda922e - Browse repository at this point
Copy the full SHA cda922eView commit details -
gossmap: implement gossmap_random_node(), use it in gossipd.
It's easy for gossmap, since it has access to the htable. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 47f4ba1 - Browse repository at this point
Copy the full SHA 47f4ba1View commit details -
gossipd: hand gossmap to gossmap_manage_get_node_addresses, not gossm…
…ap_manage. We don't want to to refresh the gossmap internally: this could invalidate the gossmap held by the current callers. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 1bfe6aa - Browse repository at this point
Copy the full SHA 1bfe6aaView commit details