mirror of https://git.wownero.com/qvqc/wowbox.git
post nodes to monero.fail
This commit is contained in:
parent
08dcef23de
commit
a173523c5c
|
@ -13,6 +13,9 @@ echo "anonymous-inbound="$i2p":34565,127.0.0.1:34565,64" >> /etc/wownerod.conf
|
|||
onion=$(cat /var/lib/tor/wowbox/hostname)
|
||||
echo "anonymous-inbound="$onion":34566,127.0.0.1:34566,64" >> /etc/wownerod.conf
|
||||
|
||||
curl -q -X POST https://monero.fail/add -d node_url="$i2p" > /dev/null 2>&1
|
||||
curl -q -X POST https://monero.fail/add -d node_url="$onion" > /dev/null 2>&1
|
||||
|
||||
failService=$(curl https://monero.fail/?crypto=wownero 2>&1 | grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]*" | grep "34568" | sort -u | sed -E 's/^\s*.*:\/\///g' | sed -e 's/^/add-peer=/')
|
||||
echo $failService|tr " " "\n" >> /etc/wownerod.conf
|
||||
|
||||
|
|
Loading…
Reference in New Issue