Skip to main content

System entities

In Rell, once data is stored within block and transaction entities, it becomes immutable, meaning it cannot be altered, modified, or deleted through code execution. This immutability contributes to the integrity of the blockchain data, ensuring a reliable and tamper-resistant historical record.

entity block {
block_height: integer;
block_rid: byte_array;
timestamp;
}

entity transaction {
tx_rid: byte_array;
tx_hash: byte_array;
tx_data: byte_array;
block;
}

It's impossible to create, modify, or delete the values of these entities in the code.