Xvitesse Consensus
Consensus refers to the agreement process between nodes in a network. The nodes must agree on which transactions to include in the next block on the chain before these transactions are committed.
There are 2 aspects to the process - the actual consensus mechanism to add transactions to blocks, and Sybil protection and validator incentives.
Sybil protection and incentives via delegated proof of stake
Xvitesse uses delegated Proof of Stake (dPoS) to provide Sybil protection and align the validator incentives.
In order to participate in securing the network consensus, a node operator must stake a minimum required amount of XVI tokens (currently set at 9999 XVI). Becoming a validator on Xvitesse is permissionless, meaning that a node operator just needs to satisfy certain technical requirements. The need to stake XVI ensures that an entity cannot create multiple seemingly distinct validators without incurring a significant cost. Hence, Sybil protection. Currently, the maximum number of validators on Xvitesse is 1999.
The validator who publishes a block agreed upon during a given consensus round is rewarded by the network protocol in newly minted XVI tokens. They also receive the fees users pay for the transactions included in the block.
Over time, validators can expect to publish a share of blocks equal to their share of the overall stake. Since XVI uses dPoS, a validator can increase their share by attracting XVI tokens from delegators. The mechanics of delegation on XVI are discussed in this documentation.
Validators who violate the consensus rules (by, for instance, not revealing random numbers) can expect their stake (including the delegators' contribution) to be frozen. This provides a strong incentive for validators to behave in the desired manner.
The AuRa Consensus Model
Xvitesse currently uses Parity's AuRa (Authority Round) consensus model to append blocks to Xvitesse. This consensus mechanism is also notably used by the xDAI blockchain.
In this model, the validators take turns signing blocks. A signed block is broadcast to all validators, and if the majority agree it is valid, it is added to the chain. A new block is added every 12 seconds, regardless of whether any transactions occurred during that time.
Although, in theory, achieving transaction finality in this model may take some time, for practical purposes, a transaction on Xvitesse can be considered finalized after a single block confirmation.
Last updated