Get "ownerAddress" and "payoutAddress"
"ownerAddress" need to be unique - you can register only one masternode using one address.
#!/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 |