Joke Collection Website - Talk about mood - I just found out, who can tell me what a blockchain is? Explain the method of blockchain technology?
I just found out, who can tell me what a blockchain is? Explain the method of blockchain technology?
This is a blockchain. After the core is completed, the blockchain is as simple as that, a * * * account book.
Six core algorithms of blockchain technology;
The first core algorithm of blockchain: Byzantine protocol
The story of Byzantium is probably like this: the Byzantine Empire has great wealth, and its 65,438+00 neighboring countries have celebrated their birthdays for a long time, but the Byzantine high walls stand tall and impregnable, and no neighboring country can successfully invade. Any single neighbor's invasion will fail, or it may be invaded by nine other neighbors. The defense ability of Byzantine Empire was so strong that at least half of the ten neighboring countries had to attack at the same time before they could be breached. However, if one or more neighbors promised to attack together, but the actual process betrayed, then the invaders may all be annihilated. Therefore, each side is too cautious to trust its neighbors easily. This is that problem of the Byzantine general.
The second core algorithm of blockchain: asymmetric encryption technology
In the Byzantine agreement mentioned above, if several generals of 10 launch news at the same time, it will inevitably lead to system confusion, resulting in different attack time plans and difficulty in reaching an agreement on actions. Anyone can launch the news of the attack, but who will send it? In fact, this only needs to increase the cost, that is, only one node can spread information in a period of time. When a node sends out a unified attack message, each node must sign and stamp the message from the initiator to confirm its own identity.
Blockchain core algorithm 3: fault tolerance
We assume that in this network, messages may be lost, damaged, delayed and repeatedly sent, and the order of reception is inconsistent with the order of transmission. In addition, the behavior of nodes can be arbitrary: they can join or quit the network at any time, they can discard messages, forge messages, stop working and so on. , and various man-made or non-man-made failures may occur. Our algorithm provides fault tolerance for a * * * knowledge system composed of * * knowledge nodes. This fault tolerance includes security and availability, and is suitable for any network environment.
Blockchain core algorithm 4: Paxos algorithm (consistency algorithm)
Paxos algorithm solves the problem of how a distributed system can agree on a certain value (resolution). A typical scenario is that in a distributed database system, if the initial state of each node is consistent and each node performs the same operation sequence, then they can finally get a consistent state. In order to ensure that each node executes the same command sequence, it is necessary to execute a "consistency algorithm" for each instruction to ensure that the instructions seen by each node are consistent. Universal consistency algorithm can be applied to many scenarios and is an important problem in distributed computing. There are two modes of node communication: * * memory sharing and message passing. Paxos algorithm is a consistency algorithm based on message passing model.
Blockchain Core Algorithm 5: * * Knowledge Mechanism
Blockchain identification algorithms are mainly workload proof and authority proof. Take bitcoin as an example. In fact, from a technical point of view, PoW can be regarded as a reusable Hashcash, and generating workload proofs is a random process in probability. When mining a new secret currency and generating a block, all participants must agree, and the digger must obtain the PoW work certificate of all data in the block. At the same time, miners should always observe and adjust the difficulty of this work, because the requirement for the network is to generate a block every 10 minutes on average.
Blockchain core algorithm 6: Distributed storage is a data storage technology, which uses the disk space on each machine through the network to form a virtual storage device with these scattered storage resources, and the data is scattered in every corner of the network. Therefore, distributed storage technology does not store complete data in every computer, but stores the data in different computers after cutting. This is like storing 100 eggs, not in the same basket, but in different places, which adds up to 100 eggs. If you want to know more, you can make more use of Baidu search and Baidu search results-tips.
- Previous article:A sentence suitable for making strangers move.
- Next article:Talking about quitting smoking on no-smoking day
- Related articles
- Let's talk about our favorite modern poet.
- Draft campaign for the Minister of Literature and Art of the Student Union
- There is a sentence in the lyrics of a song, "Those sparrows are flying in the wind on the playground."
- Beautiful sentences describing the scenery of spring park
- Write an incident between classmates, highlighting the spirit of helping others.
- Talking about chickens.
- Say a long sentence
- New Year's greetings on the Year of the Tiger
- Friends circle 52 1 sentence. Talk about 50 common sentences in copywriting.
- Can red beans, mung beans, soybeans, black beans, and white eyebrow beans be mixed together and cooked?