Running a Consensus Node
System Requirement
If you're planning to run a consensus miner, it's important to make sure your system meets the recommended requirements to ensure that your miner performs at its best.
Recommended OS
Ubuntu_x64 20.04 or higher
CPU Processor Num
≥ 4
Memory
≥ 16 GB
Bandwidth
≥ 5 Mbps
Public Network IP
required
Linux Kernel Version
5.11 or higher
Prepare Stash Account
Stash Account: This is the account where you keep all the funds you want to stake. This account requires at least 3,000,000 TCESS for staking it can be either from the node owner itself or delegated by other users.
You can also refer to the page Creating CESS Accounts for creating a CESS account.
You can either use CESS premainnet faucet to get TCESS, or contact us to receive TCESS tokens for staking.
Binding Funds to Stash Account
Open CESS Explorer and Select Network > Staking > Accounts > Stash

Select the appropriate stash account from the drop-down menu and enter at least 3,000,000 TCESS in value bounded field. In payment destination, select Stash Account as the reward receiving account (do not increase the amount at stake), which means that mining income will not be automatically added to the stake.

Click Bond -> Sign and Submit to link the Stash Account.

Fund is bonded successfully!

Run a chain node
Run with nodeadm
Install nodeadm
The cess-nodeadm is a CESS node deployment and management tool. It helps to deploy and manage storage nodes, consensus nodes, and rpc node, simplifying the devOps for all CESS miners.
On successful installation of cess-nodeadm you will see Install cess nodeadm success message.
If the installation fails, please check the troubleshooting procedures.
Configure nodeadm
Please run the following command to configure nodeadm.
set mode with
validatorset a custom node name
cessor any other name of your choice.
Run with container
Environment Setup Requirements
Running Command
Make sure that port 30336 and 9944 are not occupied by other processes.
Run with systemd
Download source files
Get the latest release from Github
Get the source files from a local container
Run as systemd service
consensus node(validator) is one of the most important part in cess network, it is recommended to set alert for consensus node to ensure that the service is always online.
Become a Validator
Start the chain node
Make sure that the chain node is running normally before proceeding.
Generate a session key

rotate-keys Output Example Set up a session key
Navigate to CESS Explorer, choose Network > Staking > Accounts > Session Key

Session Key 01 Fill in the Session Key in the red box

Session Key 02 Click Sign and Submit

Session Key 03 Becoming a validator
Navigate to CESS Explorer, click Network > Staking > Accounts > Validate

Validator 01 
Validator 02 Enter 100 in reward commission percentage, indicating that the reward will not be distributed to others.
Select No, block all nominations in allows new nominations dropdown, indicating that no nominations will be accepted.
Again, click Sign and Submit.

Validator 03 After completing the steps above, open the CESS Explorer and click Network > Staking > Waiting.

Validator 04 You should see that the node has already appeared on the candidate node list.
Redeeming Rewards
Navigate to CESS Explorer: Network > Staking > Payouts > Payout.

In Payouts, click Payout to initiate a payment. Any account can initiate a payment.

Exiting Consensus from Validation
Stop the Consensus
In CESS Explorer, navigate to: Network > Staking > Account Actions > Stop.

Exiting-01 Clear Session Keys
In CESS Explorer, navigate to: Developer -> Submission

Exiting-02 Enter controller account in using the selected account controller. Then in submit the following extrinsic, enter session and choose purgeKeys() in the box next to it.

Exiting-03 Click Submit Transaction button to clear session keys

Exiting-04
Redeeming Stake
Unbond fund
After 28 eras (each era of the test network is 6 hours), goto CESS Explorer, navigate to: Network > Staking > Account Actions > Unbond Funds.

Staking 01 Stop the CESS client
Upgrade CESS Nodeadm Client
Stop and Remove All Services
Remove All Chain Data
Do not perform this operation unless the CESS network has been redeployed, and it is confirmed that the data can be cleared.
Update cess-nodeadm
cess-nodeadmPull Images
Last updated
Was this helpful?

