Idle-Active Replacement

The data in the CESS network can be divided into two types:

Idle data: The storage node requests for a trusted node, which is generated in the TEE environment and finally returned to the storage node.

Active data: A data slice uploaded by the user, processed by the SDK and programmed with uniform specifications, of the same size as the idle data, and then handed over to the storage node for storage. The storage node will randomly delete one idle data.

Replace Process

Idle data is generated by trusted nodes in TEE environment and then passed to storage nodes to fill their available storage space. In this way, the true available space of the storage nodes is proven.

Active data is the data uploaded by users, which is processed and ultimately stored by storage nodes. Once a storage node stores active data, then the data status is changes to Active. At the same time, an idle data of the storage node needs to be selected for deletion.

The following figure shows the data storage of these two types of data in CESS network:

This process displays the replacement of idle data with active data, also known as idle-active replacement. Its main function is to encourage the storage node to store more active data and earn more rewards.