Difference between revisions of "Chain"

From wiki.cellframe.net
Jump to navigation Jump to search
(Новая страница: «= Cellframe Chains == General idea is to make abstraction level for common usage of DAG, Blockchain and No-Chain mode. In the code its present pseudo object dap_...»)
 
Line 1: Line 1:
= Cellframe Chains ==
+
= Cellframe Chains =
  
 
General idea is to make abstraction level for common usage of DAG, Blockchain and No-Chain mode.
 
General idea is to make abstraction level for common usage of DAG, Blockchain and No-Chain mode.

Revision as of 12:35, 29 September 2019

Cellframe Chains

General idea is to make abstraction level for common usage of DAG, Blockchain and No-Chain mode. In the code its present pseudo object dap_chain_t that holds all the abstractions.

Chain structure: atoms, organization

Chain consists from atomic chain elements - Chain atoms. Atom is only abstraction: it could be block, event or just id for database record. An atom could hold inside one or more datums - custom data that stores in chain. It could be transaction, certificate, smart contract, token declaration, token emission or any another custom data.

Cells, Network, Chains

Chain itself could be celled (sharded) or non-celled. So it could be single set of consistent data or lot of them. Keep in mind: cell is not part of the Chain. Its part of the network. Chain could be or not to be associated with cell. For CellFrame Network and CellFrame Chain the cell its just kind of id thats used for breaking down the network on independent segemnts thats has its own datasets - chains, [[gdb | whitelist (GDB - GlobalDB) ], mempools