SuperNode

Requirements

  • 5,000,000 PSL in a single UTXO
  • 2 installations of SuperNode on machines with different external IP addresses (necessary due to port binding restrictions, this may be changed later in development)

Cold/Hot Strategy

A 5 million PSL stake is required to operate a SuperNode. In order to avoid anything happening to that 5 million PSL, the recommended strategy is to keep that cold node turned off and in a more secure location than on a publicly accessible server. Thus, we use two SuperNode installations:
  • One cold node where the 5 million PSL stays, that is only on for a brief activation window and then disconnected
  • One hot node that actually operates on the network, but doesn't have 5 million PSL in its wallet
In order for this to occur, the cold node must vouch for the hot node, indicating that the owner of the hot node has properly staked 5 million PSL.

Installation

As with node installation in the quick start guide, pastelup is the best method for SuperNode installation.
1
./pastelup-linux-amd64 install supernode
Copied!
This method will also work if you already had node installed as in the quick start guide. A prompt will ask if you'd like to continue installation to the same directory, select yes and wait for installation to complete.

Running SuperNode

COLD/HOT Creation Instructions

Still in Beta
Make sure that the cold node can ssh properly into the hot node. Take note of the user id, password, and path to the ssh key.
On the cold node, start the process to receive the 5 million PSL, and then create and start the hot node as a SuperNode:
1
./pastel-up-linux-amd64 init supernode coldhot \
2
--ssh-ip <ip address of hot node> \
3
--ssh-user <ssh user of hot node> \
4
--ssh-key <path of ssh key>
5
--name <new name for config of hot node>
6
--new
Copied!
For help configuring the supernode-coldhot options, including specifying already created pastelid's, addresses, and remote options, use:
1
./pastelup-linux-amd64 start supernode-coldhot help
Copied!
The next time it is necessary to start supernode, do not use the --create option on the cold node.
It is also possible to start the hot node again (from hot node itself) with:
1
./pastel-up-linux-amd64 start supernode
Copied!