DAGchain

Yevhenii Doshyn
UniDAG project
Published in
2 min readApr 2, 2018

DAGchain is a continuous sequential chain of blocks with data, built according to the rules of a directed acyclic graph.

The main function of the dagchain is to preserve and protect the data in an unchanged form.

General block structure

When constructing a chain of dagchain blocks, a directed acyclic graph is used whose vertices are blocks with data. Just like in the blockroom, the block consists of a header and data.

Dagchain data block

A — Block header.

В — Data.

Blocks progression

The edges of a graph are the interrelationships between blocks. Each block in the Dagchain UniDAG is the terminal vertex for only 2 edges.

Each block is sequentially assigned its integer sequence number with an increase of 1 from the beginning of the chain and adding this number to the block header.

1 , 2 , 3 , N , (N+1) , (N+2) — sequence numbers of blocks

To ensure the invariability of the dagchain data in the edges of the graph (interrelations between blocks) irreversible cryptographic methods of hashing are used.

When the block is generated, the data is hashed. Then the hashes of the two previous blocks are taken with the received data hash, and they are hashed together to obtain the hash of its own block. Exception: the first two “genesis” blocks. All hash sums are written to the block header.

DAGchain

The basic rules in the construction of the dagchain are the preservation of the sequence of blocks, the use of the same number of edges (links), and the use of cryptostable algorithms for hashing.

To know more about UniDAG dagchain, please, read this publication or visit unidag.com .

Updated: 19/06/2018

--

--