Author: Anonymous awcn0l

Expire: Never


echo "Running ban script"

FOR_BAN=$(bitcoin-cli -conf=/etc/bitcoin.conf getpeerinfo | jq --raw-output '.[] | select(.subver | contains("Knots")) | .addr | split("((?::))(?:[0-9]+)$"; null) | .[0]')

echo "Addresses for ban: $FOR_BAN"

for address in $FOR_BAN; do bitcoin-cli -conf=/etc/bitcoin.conf setban "$address" "add" 1893456000 true done

echo "Ban script finished"


JavaScript is not enabled in your browser. Most features and paste content is missing . Switch to full experience by editing url from /nojs/[link] to /share/[link]