Basic knowledge of blockchain
< Introction to cognition & gt
publication time: 2016
recommendation: this book is mainly for programmers. Combined with API programming, we can tell you the principle and usage of cryptocurrency, as well as how to develop related software. For non programmer readers, the first few chapters of this book are still applicable as in-depth introction of bitcoin Book pdf download: https://quant.la/Download
Dahua blockchain is a book published by Tsinghua University Press in September 2019, written by Zhang Yingping. This book is a blockchain book that comprehensively explains bitcoin, Ethereum, super ledger and EOS, a blockchain development guide from engineer basic skills, development language to smart contract development, and a blockchain engineer guide from technology, project to career development planning
"Dahua blockchain"
"Dahua blockchain" is a blockchain book that pays equal attention to theory and practice, easy to understand and professional. The blockchain technology guide (the first three chapters) mainly explains the concept of blockchain, blockchain applications, bitcoin, Ethereum, super ledger, EOS and other mainstream blockchain technologies. Through learning, each reader can fully understand the implementation principles of mainstream blockchain technologies and understand the future development trend of blockchain. The practical part of development (the last two chapters) starts from the basic skills of blockchain, simulates the development of real blockchain projects, and explains in detail the design, development and deployment of smart contract and DAPP. Through learning, every reader can master the development of blockchain
2-The distributed database is the physical carrier of the blockchain, and the blockchain is the logical carrier of the transaction. All core nodes should contain the full of the blockchain data
3-The blockchain serializes the blocks according to time, and the blockchain is the only body of the whole network transaction data
4-The blockchain is only effective for adding, Invalid for other operations
5-public-private key verification based on asymmetric encryption
6-accounting node requires that Byzantine general problem can be solved / avoided
7-consensus progress is evolutionarily stable, that is, it will not collapse in the face of a certain amount of contradictory data of different nodes
8-consensus process can solve the problem of double spending
five characteristics of blockchain:
decentralized
e to the use of Distributed Accounting and storage, there is no centralized hardware or management organization, the rights and obligations of any node are equal, and the data blocks in the system are jointly maintained by the nodes with maintenance function in the whole system
thanks to the decentralization of blockchain, bitcoin also has the characteristics of decentralization [6]
openness
the system is open, in addition to the private information of all parties to the transaction is encrypted, the data of the blockchain is open to all, and anyone can query the blockchain data and develop related applications through the open interface, so the information of the whole system is highly transparent
autonomy
blockchain adopts consensus based specifications and Protocols (such as a set of open and transparent algorithms) to enable all nodes in the whole system to exchange data freely and safely in a de trusted environment, so that the trust in "people" is changed into the trust in machines, and any human intervention does not work
information cannot be tampered with
once the information is verified and added to the blockchain, it will be stored permanently. Unless more than 51% of the nodes in the system can be controlled at the same time, the modification of the database on a single node is invalid, so the data stability and reliability of the blockchain are extremely high<
anonymity
since the exchange between nodes follows a fixed algorithm, their data interaction does not need trust (the program rules in the blockchain will judge whether the activity is effective by themselves), so the counterparties do not need to let the counterparties generate their own trust by disclosing their identities, which is very helpful for credit accumulation.
1. Application of blockchain technology in the banking instry the biggest feature of blockchain technology is decentralization, which will rece a lot of costs for the banking instry. The development of digital currency will make it possible for banks to realize real-time digital transactions. For example, in bill transaction, bank bill transaction always relies on the third party to realize the transfer of valuable documents. Even in electronic bill transaction,
also needs to be authenticated through the information of central bank ECDs system. The blockchain technology can realize the point-to-point value transmission, which no longer needs centralized system control. This not only speeds up the bill transmission speed, but also reces the mistakes caused by human factors. The rection of process will naturally rece the demand of the bank for personnel and save the labor cost of the bank
2, the application of blockchain technology in the insurance instry
blockchain technology also has incomparable advantages in the insurance instry. From the perspective of data management, the application of blockchain technology can effectively improve the risk management and control ability of insurance companies, including the risk supervision of insurance companies and the risk management of policyholders
the application of blockchain technology in the insurance instry can strengthen the internal risk supervision of insurance companies. Blockchain technology can record the daily operation process of insurance company on the node, realize the in-process control of the company's capital flow, investment situation, compensation amount and other business, and improve the company's risk management and control ability
3. Application of blockchain technology in the securities instry
4, blockchain technology and financial infrastructure
blockchain technology is a decentralized mechanism for value exchange, which will lead to earth shaking changes in the existing financial infrastructure characterized by centralization
5. Application of blockchain technology in supply chain, It has become an effective guarantee for enterprise bank's loan credit, financing credit and transaction credit
in a village, a spent 3000 yuan to buy a cow of B, how to record this account
so a and B found a mutual trusted C to record the account, but later a and C colluded and did not admit that a had bought B's cattle, so the deal became rough and disputes continued
later, B had another cow. Of course, B didn't sell it to a this time, because a had no credit, so he gave it to d. This time, instead of looking for witnesses, they went to the whole village to roar after the transaction. B said Wang Erhua paid 3000 yuan to buy a cow from me, d also went to the whole village to shout that I paid 3000 yuan to buy a cow from B, so there were many people in the village to record the transaction. In this way, there will be no bad debts, which is called decentralized and distributed accounting
here comes the problem
when you yell, are the villagers willing to charge for you, just because you have a big face
therefore, the first person to record accurately will get some bitcoin rewards
someone asked, what if two people finish the first record at the same time
in order to avoid this problem, it is necessary to set rules, for example, to answer a question first, or to record with feet, and it must be written in block letters. If you set a series of rules, there will not be many firsts
in the network, there are a lot of transactions going on every day, and there are also many people recording, and finally they get the reward of bitcoin. This process is the legendary mining
Mining requires a lot of equipment. We call these computer equipment mining machines
in this way, all the processes are in one system. The system will encapsulate the data every 10 minutes to form a box full of data, which we call blocks
with the continuous generation of blocks, they are linked together to form a blockchain.
blockchain English Name: blockchain, also known as block chain, is a kind of chain data structure that combines data blocks in chronological order, It is a distributed account book that can not be tampered with and forged by means of cryptography
blockchain is essentially a distributed database, which is a series of data blocks generated by using cryptographic methods. Each data block contains the information of a network transaction, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block
2. Working principle
the core potential of blockchain lies in the characteristics of distributed database and how to help transparency, security and efficiency
in the past, institutions used a central database to support transaction processes and calculations. The control of the database is in the hands of its owner, who manages the access and update rights to the database, which limits the transparency and scalability, and makes it difficult for outsiders to ensure that the data records are not manipulated
at the same time, e to technical limitations, distributed database is basically impossible to achieve. But with the development of software, communication and encryption technology, it is possible to build a distributed database across organizations. Blockchain has graally emerged
3. Core idea
the basic idea of blockchain is to establish a network-based public ledger (data block), each block contains the information of a network transaction. All the participating users in the network work together to keep accounts and check accounts. All the data are open and transparent, and can be used to verify the effectiveness of the information. In this way, the authenticity and non tamperability of information can be guaranteed at the technical level without the central server as the trust intermediary.