Skip to content

Instantly share code, notes, and snippets.

@takinbo takinbo/ban_spy.sh
Last active Sep 17, 2019

Embed
What would you like to do?
ban bitcoin spy nodes
bitcoin-cli listbanned | jq -r '.[] | select(.ban_reason=="manually added") | .address' | xargs -P 10 -i -- bitcoin-cli setban {} remove \
&& curl -s https://people.xiph.org/\~greg/banlist.gui.txt | xargs -P 10 -L 1 bitcoin-cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.