Created
August 3, 2021 09:02
-
-
Save Rav3nPL/749a6d9f9479ae4218a998e05bfd47bf to your computer and use it in GitHub Desktop.
Script to run every hour to separate stuck masternodes for day
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
#!/bin/sh | |
for BADIPS in $(/root/bin/tecracoin-cli getpeerinfo|grep -a17 'height": 46999'|grep '"addr": "'|cut -d '"' -f4|cut -d ":" -f1) | |
do | |
/root/bin/tecracoin-cli setban $BADIPS add 86400 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment