upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/ui.cpp
diff options
context:
space:
mode:
authorBitflash-sh <btf01@proton.me>2026-07-24 12:13:30 -0300
committerBitflash-sh <btf01@proton.me>2026-07-24 12:13:30 -0300
commit3efd9a089cc6b924d9bc917d3d8145f7c01265ad (patch)
tree5c4d1bc9a487e54fb0ec5b386dbd4360b6779f42 /src/ui.cpp
parent51d617e70f90a972185917ea0096c1ecef2bfa8b (diff)
Multi-relay rendezvous with failover + relay rate-limiting
Seed list of 3 geographically-spread relays (Sao Paulo, New Jersey, Almaty); nodes register at the first reachable one and fail over if it is attacked or goes down, so no single relay IP is a point of failure. Relay installer now applies iptables connection rate-limits to soak up single-source floods.
Diffstat (limited to 'src/ui.cpp')
-rw-r--r--src/ui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index 3e734a5..cb1a94d 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -2969,10 +2969,10 @@ bool CMyApp::OnInit2()
2969 if (mapArgs.count("/proxy")) 2969 if (mapArgs.count("/proxy"))
2970 addrProxy = CAddress(mapArgs["/proxy"].c_str()); 2970 addrProxy = CAddress(mapArgs["/proxy"].c_str());
2971 2971
2972 // Rendezvous meeting relay this node registers its .btf service at and 2972 // Rendezvous meeting relay override: replace the seed list with a single
2973 // advertises in its descriptor (default is the seed relay; empty disables). 2973 // relay (default keeps the built-in seed list with failover).
2974 if (mapArgs.count("/rvrelay")) 2974 if (mapArgs.count("/rvrelay"))
2975 strBtfMeetingRelay = mapArgs["/rvrelay"]; 2975 vBtfMeetingRelays = { mapArgs["/rvrelay"] };
2976 2976
2977 // Keep an anonymous outbound connection to a specific .btf peer. 2977 // Keep an anonymous outbound connection to a specific .btf peer.
2978 if (mapArgs.count("/connectbtf")) 2978 if (mapArgs.count("/connectbtf"))