Xi’an [ /ʃi’æn/ ] will be the next major release of the Radix network. Xi’an will allow an unlimited number of shard groups, enabling Radix’s sharded state model to be fully utilized.

Radix Technical AMA #1

Radix Technical AMA #1

DEVELOPMENT
Launch Date 2024 (Estimated)
Antecedent https://radixdlt.notion.site/2cdc168d56e04787a9f412c23560c4b0
License http://radixfoundation.org/licenses/license-v1
LEDGER
State Model https://radixdlt.notion.site/Sharding-6b6dc10c1f83403d8dfb0559dc925eb9
Shard Groups https://radixdlt.notion.site/Shard-Groups-dc8ac2388c0441a19940bccbac137645
Sybil Protection https://radixdlt.notion.site/fc3306406d144989a939225006134cd9
Consensus Protocol https://radixdlt.notion.site/d5755bce114d42e781128ee6a5603dcd
Execution Environment https://radixdlt.notion.site/1cd101cd52264df9806d63da555d5828 v2
Validator Node Cap Unlimited

State Model

The Radix 'universe' exists on a fixed space of 2^256 data shards, served by a distributed network of validators called Shard Groups. Shard coverage for Xi’an will be allocated according to processing power, storage and bandwidth. A fixed ledger space allows wallet addresses to be deterministically mapped to a shard and, hence, for the global state of the network to be a derived sum of shard states. With so many shards, the likelihood of two substates being mapped to the same hash (a hash collision) at 1m transactions per second (tps), has been estimated as one every 3.67^63 years. The Radix protocol assumes that 256 bits are enough to avoid "almost all" collisions in shard addresses. In the rare event of a collision, the corresponding transaction would fail and the user would simply retry, automatically resulting in different shard addresses.

A proto-implementation of Xi’an is currently being built in the Cassandra project.

Radix’s founder, Dan Hughes, has said that the first release of Xi’an might begin with 8-16 shard groups, which will be increased as the network throughput grows.

Consensus

Radix's consensus protocol is called Cerberus. It will allow an effectively unlimited number of shards to operate independently without losing atomic composability.

Validator Nodes in Xi'an

It remains unclear if every Xi'an wallet will be given the software to run a validator node. The consensus algorithm's operation is also uncertain when most nodes are powered down. Power drain and feasibility of running mobile validators are additional concerns.

Xi'an Proof of Concept

The Xi'an protocol for the Radix network is a speculative concept, aimed at increasing the number of validator sets and shard groups for better transaction processing. The number of validator sets may be double the amount required to satisfy the demand for transactions per second (TPS). Each validator set may consist of up to 3000 validators, with a minimum of 100 validators for security purposes.

The Xi'an protocol allows the number of validators in each validator set to vary between 100 and 3000 while maintaining the same number of shard groups. Only when TPS demand increases to utilize the whole 3000 validators will it be necessary to add a shard or split existing shard groups.