How Smartcash Smartnode payments work

For the first few blocks of the payments, the queue is not active. Every node is elegible for receiving the rewards, because all nodes have the same age. The network is said to be in "upgrading mode", and this period lasts for as many blocks as 1/3 of the eligible smartnodes. So if there are 6000 smart nodes active, this upgrading period lasts for 2000 blocks.

After the network is out of the upgrading mode, there will be a queue. The position in the queue depends on how long the smartnode is active. On each block, the protocol takes the top 10% of the queue, and calculates the rank of each one. The rank is the difference between the txid of the smartnode and the block hash. The node with the largest rank is paid, and gets to the end of the queue.

Even if the payment looks random, it is deterministic. It cannot be determined beforehand, but as soon as the block is closed, anyone on the network will reach the same result, and the winner will be the same. This is useful to avoid an attacker to knock offline the top nodes and increase his position. In a simple queue, the node #12 in the queue could force the first 11 to get offline and be the next paid. In the current system, there is no way to doing it without knocking offline a lot of nodes.

If any node goes offline for less than one hour, its place on the queue is kept. As soon as it gets back online, it goes to his place. But if the downtime lasts for more than one hour, it will go to the end of the queue when it goes online. This allows operators to update software or hardware, empty a full disk, test startup scripts, and not lose the smartnode payment. It creates an incentive to operators to keep their nodes up to date without fear of losing a reward.

The payments will have some fluctuation on the short term, because the hash of the block cannot be known before closing the block. But in the long term, the "Law of Large Numbers" takes over and keeps the frequency very close to perfection.

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center