From e2bc68de1af27d3459878f43c40061d0c30d09d7 Mon Sep 17 00:00:00 2001 From: Bitflash-sh Date: Fri, 24 Jul 2026 14:46:49 -0300 Subject: Automatic relay discovery over Nostr + call-to-action Relay operators announce their relay with -announcerelay=host:port; every node discovers announced relays (kind 38502) and adds them to its failover list, so volunteer relays join with no maintainer edit or approval. Anti-spam cap + validation; relays are trustless (echan makes a bad relay unable to read/MITM). README: automatic relay-volunteer guide, 'don't let the network die' section. --- src/ui.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ui.cpp') diff --git a/src/ui.cpp b/src/ui.cpp index cb1a94d..311a78e 100644 --- a/src/ui.cpp +++ b/src/ui.cpp @@ -2974,6 +2974,10 @@ bool CMyApp::OnInit2() if (mapArgs.count("/rvrelay")) vBtfMeetingRelays = { mapArgs["/rvrelay"] }; + // Announce a relay you run so other nodes discover it automatically. + if (mapArgs.count("/announcerelay")) + strBtfAnnounceRelay = mapArgs["/announcerelay"]; + // Keep an anonymous outbound connection to a specific .btf peer. if (mapArgs.count("/connectbtf")) strBtfConnect = mapArgs["/connectbtf"]; -- cgit v1.2.3