DAG Structure

CyberVein
3 min readFeb 12, 2018

--

In CyberVein, when a user wants to initiate transactions or store the data, the user to create a unit and broadcast it to other nodes. A unit has the following some basic information is not complete structure (here) :
1. Need to be written in the chain of data
There can be a variety of data, such as a transfer, a smart contract, a written to the database data, and so on.
2. Parent’s hash
There is need to pass the unit reference one or more of the parents the hash value of the unit.
3. signature
A signature, created by the user to identify the unit owners and creators in the network.
4.DAG, unit connect the unit, and each unit may have multiple parents unit and more subunits, eventually unit can be traced to creation unit G, the structure of the form shown below.

The circle represents a unit, the arrows represent the sub-unit to the relationship of parents unit. As a new block in traditional blockchain will verify the same in all the old block, a new sub-unit in the DAG will identify all the parents unit, as well as their parents’ unit, and so on. When a to one unit of illegal rewrite occurs, it will inevitably change the hash value of the unit. Due to the unit more sub-units are cited with its hash value, so the sub-unit of hash value also need to rewrite. Such layers of push-down will make illegal to rewrite become almost impossible.

Therefore, with the traditional blocks in the chain need to tamper with the one of the existing exchange need to calculate the force of different attacks (51%), in the DAG tampering with units need to cooperate with a lot of the default users, so as long as there is a don’t disagree within units, it is unable to reach a purpose of rewriting.
When a unit is broadcast to the network, the other receives the radio users will confirm it, and the created user unit will also refer to the unit, and broadcast just created a new unit again.
In this mode, the miners will no longer exist, users also need not to wait for miners in written to block the deal, instead, the mutual authentication between the user, and it also accord with the idea of CyberVein: every user in the network to network.
In the DAG, unit can not directly relation with multiple existing child parent unit connection. Unit A and unit B, for example, the existing son of the father, so unit C will not be directly with the unit A and unit B there is a father son relationship.
To the problem of double spending, DAG has effective rules to avoid it:
If two cells directly or indirectly have a reference relationship between each other, then they are referred as a ordered unit. In an orderly unit, the two will perform the same output of the deal, because of the order can be identified, so as to avoid double spending. The same user address released new unit shall, directly or indirectly from the same reference address published unit, unit composition, otherwise there will be a systematic double spending scenario, which could not be deposited in the chain. Unit released with disorder will probably not have the same address, so how to avoid the double spending includes a variety of possible attacks, specific to distinguish from network status, because the situation is more complicated, the will be a specific chapter introduced in our technical white paper.

--

--

CyberVein
CyberVein

Written by CyberVein

CyberVein reinvents decentralized databases and the way we secure and monetize information.

No responses yet