Most of the following changes are already covered by SmartNode Bash Scripts.
BE CAREFUL: Please do only apply changes illustrated below if you know what you are doing. Also make sure you have done a backup/snapshot of your VPS first, so that you are able to recover in case of an error.
The steps described in this section have been written to the advantage that they all can be applied separately.
Think of a number you want to use instead of the default SSH port number (22).
In this example we have chosen port number 15735. (But please make up your own!)
ufw allow 15735/tcp
ufw limit 15735/tcp
ufw logging on
If you used the SmartNode Setup Guide to begin with, this step is crucial.
Change the line Port 22 to your custom port, in this example Port 15735 and save.
ufw delete allow 22/tcp
ufw delete limit 22/tcp
chmod 0700 ./makerun.sh
chmod 0700 ./checkdaemon.sh
*/5 * * * * ~/smartnode/makerun.sh
*/30 * * * * ~/smartnode/checkdaemon.sh
service cron reload
This step is to prevent the debug.log from getting too large.
chmod 0700 ./clearlog.sh
0 0 */2 * * ~/smartnode/clearlog.sh
Open your smartcash.conf with pico ~/.smartcash/smartcash.conf and add the following line:
This step is especially recommended to those who run a VPS with less than 2 GB RAM.
fallocate -l 4G /swapfile
chmod 600 /swapfile
/swapfile none swap sw 0 0
SmartNode Hardening Guide written and maintained by nflaw. (Last updated: 2018-01-30)
smartcash-cli smartnode count
smartcash-cli smartnode current
smartcash-cli smartnode genkey
smartcash-cli smartnode start
smartcash-cli smartnode status
smartcash-cli smartnode list
smartcash-cli smartnode winner
smartcash-cli smartnode winners
smartcash-cli smartnodelist activeseconds <collateral txid>
smartcash-cli smartnodelist addr <collateral txid>
smartcash-cli smartnodelist full
smartcash-cli smartnodelist lastpaidblock <collateral txid>
smartcash-cli smartnodelist lastpaidtime <collateral txid>
smartcash-cli smartnodelist lastseen <collateral txid>
smartcash-cli smartnodelist payee <collateral txid>
smartcash-cli smartnodelist protocol <collateral txid>
smartcash-cli smartnodelist rank <collateral txid>
smartcash-cli smartnodelist status <status>
Yes, there is a bash installer for SmartNodes on Ubuntu. It comes with cronjobs to make sure that your node is always running and up-to-date as well as secure against DDoS attacks.
Please not that this installer is only suitable for a dedicated VPS. The anti-DDoS script in this installer will disable all ports including the HTTP, HTTPS and DNS ports. It will only leave the SmartNode port open as well as a custom port for SSH.
It can take up to 30 minutes. If it takes longer than that you can run smartcash-cli smartnode status and it will show you why it can't proceed.
If it turns to EXPIRED you have to check if there's something wrong with your setup.
No, as soon as the SmartNode reached it's ENABLED status, you basically just have to make sure that you VPS keeps running. The software wallet enables you to monitor and re-enable your node.
SmartNode rewards were activated at block height 300,000 on Jan 31, 2018 5:25:00 AM UTC.
Every SmartNode appears in the global list. Their position in this list is determined by the time from the last payment. New SmartNodes and SmartNodes that received a payment are placed at the end of the list. It is recommended to only use the command ‘start-missing' to start SmartNodes since it will only start nodes that need to be started. You can also use ‘start-alias’ and specify the specific node you want to start. The start-all command will reset the payment queue on any active nodes.
As SmartNodes are moved to the end of the global list, the remaining SmartNodes slowly migrate towards the top of the list. Once a SmartNode reaches the top 10% of the global list, it is eligible for selection from the selection pool. As an example, if there are 8000 active SmartNodes, the top 800 SmartNodes in the global list are eligible for selection.
Once in the selection pool, selection for payment is determined by the block hash and transaction ID which is used to randomly select the next node in the pool to pay.
You most likely haven't applied the steps described in Section 9 of the Setup Guide correctly. The final steps after setting up the VPS are that you move to your desktop computer once again, edit the smartnode.conf there and finally start the node from your software wallet (SmartNodes tab).
Your hosting provider most likely doesn't support automatically assignation of the external IP or IPv4. This issue has been reported with AWS (Amazon Web Services), among others.
It can be solved by adding the following line to smartcash.conf on your VPS:
Please visit us on Discord in the 🧠-smartnodes channel under "SmartCash Support", you can also post to the dedicated category on SmartCash Community Forums, follow SmartCash support on Twitter or consult our SmartCash support platform.
Frequently asked questions and answers on SmartNodes compiled from Discord by nflaw. (Last updated: 2018-02-11)
SmartCash Block Explorer
SmartCash on Discord
SmartCash on Telegram
SmartCash on Reddit
SmartCash on Twitter
SmartCash on Steem