From 6a5b7600df85a3660a4c3cfa71e5a8dc025eadd3 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Fri, 3 Nov 2023 10:53:46 +0000 Subject: [PATCH] Remove template coordinator --- frontend/static/federation.json | 37 ------------- frontend/static/federation/temp.small.webp | Bin 1070 -> 0 bytes frontend/static/federation/temp.webp | Bin 8450 -> 0 bytes nodeapp/coordinators/temp/locations.conf | 59 --------------------- nodeapp/coordinators/temp/upstreams.conf | 9 ---- nodeapp/nginx.conf | 10 ++-- nodeapp/robosats-client.sh | 25 +++------ 7 files changed, 15 insertions(+), 125 deletions(-) delete mode 100644 frontend/static/federation/temp.small.webp delete mode 100644 frontend/static/federation/temp.webp delete mode 100644 nodeapp/coordinators/temp/locations.conf delete mode 100644 nodeapp/coordinators/temp/upstreams.conf diff --git a/frontend/static/federation.json b/frontend/static/federation.json index a1c6cc57..33e0a444 100644 --- a/frontend/static/federation.json +++ b/frontend/static/federation.json @@ -82,43 +82,6 @@ "mainnetNodesPubkeys": ["030a425f5c69a29db30f6740d4e7df8f5612ef9955078ef4497490015464733dc8"], "testnetNodesPubkeys": ["028e7a019180a664b84edf77ba656e96f2eb84f67f56d93020341caf4109e0dbc7"] }, - "temp": { - "longAlias": "Template", - "shortAlias": "temp", - "description": "Mirror of 'Experimental'. Just to start testing the client with multiple coordinators", - "motto": "Don't trust, verify", - "color": "#000000", - "contact": { - "email": "contact@contact.com", - "telegram": "examplecoordinator", - "twitter": "examplecoordinator", - "matrix": "#example:matrix.org", - "website": "https://example.coordinator.com" - }, - "badges": { - "isFounder": true, - "donatesToDevFund": 20, - "hasGoodOpSec": true, - "robotsLove": true, - "hasLargeLimits": true - }, - "policies": { - "Rule #1": "You do not talk about RoboSats Club", - "Rule #2": "You DO NOT talk about RoboSats Club", - "Privacy Policy": "...", - "Data Policy": "..." - }, - "mainnet": { - "onion": "http://robosats6tkf3eva7x2voqso3a5wcorsnw34jveyxfqi2fu7oyheasid.onion", - "clearnet": "http://127.0.0.1:12596/mainnet/exp" - }, - "testnet": { - "onion": "http://robotestagw3dcxmd66r4rgksb4nmmr43fh77bzn2ia2eucduyeafnyd.onion", - "clearnet": "http://127.0.0.1:12596/testnet/exp" - }, - "mainnetNodesPubkeys": ["0282eb467bc073833a039940392592bf10cf338a830ba4e392c1667d7697654c7e"], - "testnetNodesPubkeys": ["03ecb271b3e2e36f2b91c92c65bab665e5165f8cdfdada1b5f46cfdd3248c87fd6"] - }, "local": { "longAlias": "Local Dev", "shortAlias": "local", diff --git a/frontend/static/federation/temp.small.webp b/frontend/static/federation/temp.small.webp deleted file mode 100644 index b4d9766cc1c49265d42896ed05950a11470f54c0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1070 zcmV+}1kw9aNk&E{1ONb6MM6+kP&gnO1ONcA69An7Do_AW06uLnlt-i@q9LYsY+!&5 ziD&?^A4~)1&;B=iK3HGJ{uAb$M)0TcBHSnEmFI81&Ai;eMgS7DhE3yh>Mvk!iXX5Z z%!W#=NIrO>_2W7DTh;11v!}~wSjG7e!_DuN?1?UEWdIt)~UlCct@uc1ea{DHS?6ejlO7Cl~M=^O^G!Dmq_s{N#$i_4Z zADqOlT|62tdSAH{p`v0BF0c#o_GG&Q22xHlTPU0Wcm`=9f-m0kPz>J&vZD~Q(>PZte@8P7`6lNX|`hNySe#&<(AIiPq}gB zH;#EN9fzyIu!QGI2$9u&Huk!7KIwKi#$jNESJGi8zL>_0;4wtUnf+s4J&#k_!msE~ed)3s4{i ztv_PO-ma7@7n8;}8rK*J(Of7rc#xfM=-n=f0Op*G&6^-Q zx_6mlWQ#A|3>Wnt$oD)v>_uj)R639Z{9lmT+?{IaSoPfF!QQC`zGF=E`vYx6$P8x? zvj~q5VgAHhP43x4T;|Mmd? z+v)+-kJ)eW-Ms&p{?FuZkY9aGH^6O6K3({)`QP1r7Vlr;AI*NiUzC48|7Ymy@x7aN z!_XJpU$puA{J)yN#Cm}6FwhIhyZk@fzdhet`vm^MdTRgw_apnM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F+PYe`@9J!L zDpiXqOq;ME{dA+59cq^67|V9k2{MtD`1^jtN6EqGyyLv69TzR(D&3zfjc2?Vj(&KO zaVq`8h8d>8OqR+zreT*<@vqb-a4l<^`|n)sTMvhi?q^tpwGsYUSYJi*K1&gT_S2Jg zV={(jqon#kIMNJ#_d6(}LHo7%6SqTiTA{7zEa}w(VXH~95j@D#M_4-k*aQoHtPKQ( zTn0No5YV8r*r%rR1p+{aaQ4NaAh~fGs4fO7Cv6tu)t@zEJVxE~Y*N2IU4^s~&q`BUb3J9t(wgAnx0It9ZBHC&5iNGoR>0B^G&N zPfh>64O_P4cL|#zHQCWOQ%9iU#F9+kO0oVNkn$(Tg3jFVG>cf05Q-;TVLYehlokhR zUfU?e+dNALHWGkJ zX~fdwn(by9#R|BbC6zs;fsSMHUL3kjNh^54A(Jd0dJV}v{5SidKfc%ZgIrO3wfJ|n z5+ZVAiJq{Spl||tx!@U@`<;%_$M&R!! zw5S>^;R2h1=m2E>2ce_TvoJN!oSJw$APb@5cJy52eap=m@0F#}8G$B+P9 z<^TgRfD1`fspUJc4v#SQ#A75KO61(`{8vFd$^y)vTLsa!--lkl!yO(spu?52KqDPB kgdffB*mh0IP?ir2qf` diff --git a/nodeapp/coordinators/temp/locations.conf b/nodeapp/coordinators/temp/locations.conf deleted file mode 100644 index 7b4187a7..00000000 --- a/nodeapp/coordinators/temp/locations.conf +++ /dev/null @@ -1,59 +0,0 @@ -# Template Coordinator Mainnet Locations -location /mainnet/temp/static/assets/avatars/ { - proxy_pass http://mainnet_temp/static/assets/avatars/; -} - -location /mainnet/temp/api/ { - # if ($request_method = 'OPTIONS') { - # add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; - # add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range'; - # add_header 'Access-Control-Max-Age' 1728000; - # add_header 'Content-Type' 'text/plain; charset=utf-8'; - # add_header 'Content-Length' 0; - # return 204; - # } - # if ($request_method = 'POST') { - # add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; - # add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range'; - # add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range'; - # } - # if ($request_method = 'GET') { - # add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; - # add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range'; - # add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range'; - # } - proxy_pass http://mainnet_temp/api/; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "Upgrade"; - proxy_set_header Host $host; -} - -location /mainnet/temp/ws/ { - proxy_pass http://mainnet_temp/ws/; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "Upgrade"; - proxy_set_header Host $host; -} - -# Template Coordinator Testnet Locations -location /test/temp/static/assets/avatars/ { - proxy_pass http://testnet_temp/static/assets/avatars/; -} - -location /testnet/temp/api/ { - proxy_pass http://testnet_temp/api/; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "Upgrade"; - proxy_set_header Host $host; -} - -location /testnet/temp/ws/ { - proxy_pass http://testnet_temp/ws/; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "Upgrade"; - proxy_set_header Host $host; -} \ No newline at end of file diff --git a/nodeapp/coordinators/temp/upstreams.conf b/nodeapp/coordinators/temp/upstreams.conf deleted file mode 100644 index 804838fa..00000000 --- a/nodeapp/coordinators/temp/upstreams.conf +++ /dev/null @@ -1,9 +0,0 @@ -# Template Coordinator Mainnet -upstream mainnet_temp { - server localhost:100; -} - -# Template Coordinator Testnet -upstream testnet_temp { - server localhost:1000; -} \ No newline at end of file diff --git a/nodeapp/nginx.conf b/nodeapp/nginx.conf index 5d6345ba..8b00566c 100644 --- a/nodeapp/nginx.conf +++ b/nodeapp/nginx.conf @@ -27,9 +27,11 @@ http { keepalive_timeout 65; # Every robosat coordinators socat tor bridge is an upstream. - # Experimental Coordinator + # Coordinators in the federation: + # Experimental include /etc/nginx/conf.d/exp/upstreams.conf; - include /etc/nginx/conf.d/temp/upstreams.conf; + # Temple of Sats Coordinator + include /etc/nginx/conf.d/temple/upstreams.conf; server { @@ -62,8 +64,10 @@ http { # Proxy API, WS and Avatarts to the coordinator(s) socat bridges + # Experimental include /etc/nginx/conf.d/exp/locations.conf; - include /etc/nginx/conf.d/temp/locations.conf; + # Temple of Sats + include /etc/nginx/conf.d/temple/locations.conf; # do not log healtchecks made against "/selfhosted" location /selfhosted { diff --git a/nodeapp/robosats-client.sh b/nodeapp/robosats-client.sh index 4f9e2266..be645ac0 100644 --- a/nodeapp/robosats-client.sh +++ b/nodeapp/robosats-client.sh @@ -8,6 +8,7 @@ # Every robosat coordinators needs a tor socat bridge. +############################### # Experimental Coordinator # Mainnet mainnet_exp_onion=robosats6tkf3eva7x2voqso3a5wcorsnw34jveyxfqi2fu7oyheasid.onion @@ -15,7 +16,11 @@ mainnet_exp_port=101 # Testnet testnet_exp_onion=robotestagw3dcxmd66r4rgksb4nmmr43fh77bzn2ia2eucduyeafnyd.onion testnet_exp_port=1001 +# socat cmd +mainnet_exp_socat="socat tcp4-LISTEN:${mainnet_exp_port},reuseaddr,fork,keepalive,bind=127.0.0.1 SOCKS4A:${TOR_PROXY_IP:-127.0.0.1}:${mainnet_exp_onion}:80,socksport=${TOR_PROXY_PORT:-9050}" +testnet_exp_socat="socat tcp4-LISTEN:${testnet_exp_port},reuseaddr,fork,keepalive,bind=127.0.0.1 SOCKS4A:${TOR_PROXY_IP:-127.0.0.1}:${testnet_exp_onion}:80,socksport=${TOR_PROXY_PORT:-9050}" +################################ # Temple of Sats Coordinator # Mainnet mainnet_temple_onion=zixoneehmz7z2ctsnpuubcni4kxw5gp6fkyzjd2spo5atie5awiuwmyd.onion @@ -23,24 +28,10 @@ mainnet_temple_port=102 # Testnet testnet_temple_onion=ngdk7ocdzmz5kzsysa3om6du7ycj2evxp2f2olfkyq37htx3gllwp2yd.onion testnet_temple_port=1002 - -# Template Coordinator -# Mainnet -mainnet_temp_onion=robosats6tkf3eva7x2voqso3a5wcorsnw34jveyxfqi2fu7oyheasid.onion -mainnet_temp_port=100 -# Testnet -testnet_temp_onion=robotestagw3dcxmd66r4rgksb4nmmr43fh77bzn2ia2eucduyeafnyd.onion -testnet_temp_port=1000 - -# ... add more - -mainnet_exp_socat="socat tcp4-LISTEN:${mainnet_exp_port},reuseaddr,fork,keepalive,bind=127.0.0.1 SOCKS4A:${TOR_PROXY_IP:-127.0.0.1}:${mainnet_exp_onion}:80,socksport=${TOR_PROXY_PORT:-9050}" -testnet_exp_socat="socat tcp4-LISTEN:${testnet_exp_port},reuseaddr,fork,keepalive,bind=127.0.0.1 SOCKS4A:${TOR_PROXY_IP:-127.0.0.1}:${testnet_exp_onion}:80,socksport=${TOR_PROXY_PORT:-9050}" - +# socat cmd mainnet_temple_socat="socat tcp4-LISTEN:${mainnet_temple_port},reuseaddr,fork,keepalive,bind=127.0.0.1 SOCKS4A:${TOR_PROXY_IP:-127.0.0.1}:${mainnet_temple_onion}:80,socksport=${TOR_PROXY_PORT:-9050}" testnet_temple_socat="socat tcp4-LISTEN:${testnet_temple_port},reuseaddr,fork,keepalive,bind=127.0.0.1 SOCKS4A:${TOR_PROXY_IP:-127.0.0.1}:${testnet_temple_onion}:80,socksport=${TOR_PROXY_PORT:-9050}" -mainnet_temp_socat="socat tcp4-LISTEN:${mainnet_temp_port},reuseaddr,fork,keepalive,bind=127.0.0.1 SOCKS4A:${TOR_PROXY_IP:-127.0.0.1}:${mainnet_temp_onion}:80,socksport=${TOR_PROXY_PORT:-9050}" -testnet_temp_socat="socat tcp4-LISTEN:${testnet_temp_port},reuseaddr,fork,keepalive,bind=127.0.0.1 SOCKS4A:${TOR_PROXY_IP:-127.0.0.1}:${testnet_temp_onion}:80,socksport=${TOR_PROXY_PORT:-9050}" -$mainnet_exp_socat & $testnet_exp_socat & $mainnet_temple_socat & $testnet_temple_socat &$mainnet_temp_socat & $testnet_temp_socat & nginx \ No newline at end of file +# RUN! +$mainnet_exp_socat & $testnet_exp_socat & $mainnet_temple_socat & $testnet_temple_socat & nginx \ No newline at end of file