Last active
September 17, 2019 07:12
-
-
Save takinbo/9639572381c149beede3823cd4363713 to your computer and use it in GitHub Desktop.
ban bitcoin spy nodes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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