Skip to content

Instantly share code, notes, and snippets.

@takinbo
Last active September 17, 2019 07:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takinbo/9639572381c149beede3823cd4363713 to your computer and use it in GitHub Desktop.
Save takinbo/9639572381c149beede3823cd4363713 to your computer and use it in GitHub Desktop.
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