Skip to content

Instantly share code, notes, and snippets.

@Rav3nPL
Rav3nPL / ban-bad-mn.sh
Created August 3, 2021 09:02
Script to run every hour to separate stuck masternodes for day
#!/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
@Rav3nPL
Rav3nPL / tecracoin.md
Last active June 21, 2022 00:49
Basics of TecraCoin console commands need for masternode update

TecraCoin console basics

QT console commands

Get new address (twice)

Get "ownerAddress" and "payoutAddress"

"ownerAddress" need to be unique - you can register only one masternode using one address.