diff options
| author | Bitflash-sh <btf01@proton.me> | 2026-07-24 14:46:49 -0300 |
|---|---|---|
| committer | Bitflash-sh <btf01@proton.me> | 2026-07-24 14:46:49 -0300 |
| commit | e2bc68de1af27d3459878f43c40061d0c30d09d7 (patch) | |
| tree | 40bffb13573ff9fe4a3c114883d10f533aa7e803 /src/ui.cpp | |
| parent | 2b10d4a64fd17ad6320055935d76ab6beca3b9b3 (diff) | |
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.
Diffstat (limited to 'src/ui.cpp')
| -rw-r--r-- | src/ui.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -2974,6 +2974,10 @@ bool CMyApp::OnInit2() | |||
| 2974 | if (mapArgs.count("/rvrelay")) | 2974 | if (mapArgs.count("/rvrelay")) |
| 2975 | vBtfMeetingRelays = { mapArgs["/rvrelay"] }; | 2975 | vBtfMeetingRelays = { mapArgs["/rvrelay"] }; |
| 2976 | 2976 | ||
| 2977 | // Announce a relay you run so other nodes discover it automatically. | ||
| 2978 | if (mapArgs.count("/announcerelay")) | ||
| 2979 | strBtfAnnounceRelay = mapArgs["/announcerelay"]; | ||
| 2980 | |||
| 2977 | // Keep an anonymous outbound connection to a specific .btf peer. | 2981 | // Keep an anonymous outbound connection to a specific .btf peer. |
| 2978 | if (mapArgs.count("/connectbtf")) | 2982 | if (mapArgs.count("/connectbtf")) |
| 2979 | strBtfConnect = mapArgs["/connectbtf"]; | 2983 | strBtfConnect = mapArgs["/connectbtf"]; |