---- acquaintance block chain block chain entry terms

This series will lead to further children's shoes who are interested to learn some basic knowledge of fabric super books will not discuss the block chain of deep underlying implementation technology, focusing on the application of the block for the chain, behind it will be combined with fabric-sdk-java to combat development of the block chain. Interested parties can focus on me, rivers and lakes behind the content is continuously updated. . . .
Thanks @ sage, I will continue to go on continually updated

Block chain nouns

  • transaction

    A state transition operation

  • Blocks

    A collection of a certain period of time of the transaction all packaged into a trading block

  • chain

    Block links

Type block chain

  1. ● public world strand chain
  2. ● Union chain requires admission control node can not join or leave
  3. ● internal private chain company, a subsidiary department

Block chain Features

  1. ● to the center (of the multi-center)
  2. ● trust of parties to the transaction do not need to trust, just trust block chain network
  3. ● Data sharing the same information to all nodes
  4. ● Do not tamper with (non can not be modified) transaction can not be unilaterally changed the whole network needs

platform

  1. ● credits bit digital block chain fire 1.0 credits
  2. ● Intelligent Ethernet Square 2.0 introduced contract
  3. ● eos 3.0
  4. ● fabric super books

Scenarios

  1. ● to trust
  2. ● Value Transfer ()
  3. ● Data Sharing (intermediate means, each API call, storage center)

Block chain technology

  1. ● concept p2p network protocols (peer to peer network communication) of all network nodes communicate with each other are equal, there is no server and client are created equal

    development process

    ✧ 中心化服务 
    ✧ 分布式 微服务 
    ✧ 去中心化 
    
  2. ● p2p networks fabric ----- gRPC service (using chain Alliance)

  3. ● Cryptography

    • hash algorithm

      The value of indefinite length into a fixed-length value
      common md5 sha1 sha2 sha2-256
      features:

       ✧ 正向快递,逆向困难
       ✧ 输入敏感
       ✧ 抗碰撞
      
    • Encryption and decryption algorithm

      High efficiency symmetric encryption, unsafe
      low asymmetric cryptography (public and private key) Efficiency

Architecture books

A series of orderly transaction can not be tampered with (state transition operation)
Here Insert Picture Description

After a header block comprising a hash block

Consensus algorithm (distributed consensus algorithm)

  1. ● strong consistency difficult to achieve, inefficient
  2. ● eventual consistency

cap principle

  1. ● Availability
  2. ● Consistency
  3. ● partition tolerance
分布式系统不可能同时满足 可用性 一致性 分区容忍性 ,智能三者满足其2

acid principle

● 原子性
● 一致性
● 隔离性
● 持久性

(Not further described herein, are interested can click to see )

Consensus Algorithm

● Paxos 假设分布式系统中 仅有故障节点没有恶意节点
● 拜占庭算法 技能荣南故障节点也能容纳恶意节点

Alliance difference chain and the chain is also public consensus algorithm
Union chain have access control, generally do not use the Byzantine algorithm

Here Insert Picture Description

  • pow workload proved algorithm
    heavy workload, the right to speak big, easier access billing rights
  • pos entitlement algorithm
    who have assets of more than, who is more right, big voice, easier access billing rights

Block chain system architecture

Here Insert Picture Description
The next chapter will be on the block chain system architecture for simple dismantling, are interested in children's shoes can click to see
next: block chain structure and transaction flow (fabric1.0)

Released five original articles · won praise 0 · Views 99

Guess you like

Origin blog.csdn.net/weixin_43439748/article/details/104934284