Data Model

How entities that provide functionality are represented and stored in Züs Network

This page is being completed.

Network State (a.k.a The MPT)

It represents the current state of all the entities of the Züs System. Each round, the processing of the transactions against the functions of the smart contracts reads the latest state, uses the data of the state to validate the transaction payloads and the requests, then mutates this state resulting in a new state that will be stored in the next block.

The network state is represented in an MPT (Merkle Patricia Trie), which is a useful and effecient data structure. One of its most useful features for our case is that it provides a single constant-length hash that represents all the data stored in it, and changes if any change occurs on the data, no matter how little the change is or how big the data is.

Last updated