XSC adopts HPOS consensus mechanism of low transaction cost, low transaction delay, and high transaction concurrency, and supports up to 21 active validators. The administrator can designate any address to become a common validator, and the 21 validators with the largest number of pledges the node is an active validator, responsible for the packaging of the block producing node. After each epoch, the pledge amount ranks among the top 21 validators, and it will become the active validator for the next epoch.

All active validators are sorted according to predefined rules and packed into blocks in turn. If a validator fails to pack blocks in time in its own round, n/2 (n is active) The number of validators) Active validators who have not participated in the block will randomly perform block generation. At least n/2+1 active validators are working normally to ensure the normal operation of the blockchain.

The difficulty value of the block is 2 when it is generated normally, and 1 when it is not generated in a predetermined order. When the blockchain forks, the blockchain selects the corresponding fork based on the cumulative maximum difficulty.



There is no limit in theory, anyone can become a validator, which can be set by the administrator (validatorV1Admin).

Active validator

Currently the validator set responsible for packaging blocks, up to 21.


The time interval in blocks. The current 1epoch = 200block. At the end of each period, the blockchain interacts with the system contract to update the active validator.




Reward & Punishment