Fork consistency of blockchain
a brief history of etheric Classics (etc)
etheric classics began with an unfortunate event
in May 2016, the decentralized autonomous organization (DAO) held a token sale with the goal of establishing a blockchain based venture capital to fund future decentralized applications (dapps) in the Ethereum ecosystem
basically, Dao is a complex smart contract that operates in a decentralized way - computer code that automatically performs tasks between multiple parties when conditions are met
despite its ambitious goals and successful token sales, Dao's code has a major vulnerability that allows attackers to steal eth from decentralized organizations
the attacker took advantage of this vulnerability in June 2016, triggering the infamous Dao hacking event, and maliciously stole eth worth about US $50 million
there is no doubt that Dao hacking has shocked Ethereum community and made eth price drop from $20 to $13
after the Dao hacking, the Ethereum community has to choose from three options
< UL >do nothing and try to bear the consequences of the attack
start soft bifurcation to recover funds
deploy a hard fork to recover the lost eth
both soft and hard bifurcations are significant network upgrades. However, soft fork allows users who are not upgraded to communicate with upgraded users, while hard fork is not backward compatible with previous versions
as developers realize that deploying soft forks will expose the network to distributed denial of service (DDoS) attacks, Ethereum community decides to initiate hard forks to recover the funds lost in Dao hacking attacks
although this scheme is supported by most people, a small number of people in Ethereum community oppose it. They think that "code is the law" and blockchain network should be unchangeable
the failure of both sides to reach an agreement on the solution eventually led to the fragmentation of Ethereum blockchain
those who tried to recover the lost eth chose the hard fork and opened the Ethereum (ETH) blockchain as we know it today, while another group stayed on the original Ethereum classic (etc) chain
what problems does ethereal classic solve
Ethernet classic (etc) is a blockchain platform that allows developers to deploy smart contracts and dapps
although this function is the same as Ethereum (ETH), etc blockchain has two main differences
first of all, Ethereum classic community opposes tampering with distributed ledger and supports the view that "blockchain network cannot and should not be modified"
secondly, although there is no rigid upper limit on the total supply of eth, it is allowed to create 230 million etc at most by adopting the monetary policy of constant supply
as a bonus item, ethereal classic launched Atlantis hard bifurcation last year to increase the interaction with Ethereum and improve the privacy protection of transactions through ZK snarks
the trading platforms recommended by ethereal classic etc are: Fire coin, okex, AAX, etc strong>
existing definition:
[lightning definition] hard fork refers to that when the bitcoin block format or transaction format (this is the widely spread "consensus" (should be part of the agreement consensus)) changes, the UN upgraded node refuses to verify the blocks proced by the upgraded node, but the upgraded node can verify the blocks proced by the UN upgraded node, Then we continue the chain that we think is right, so we divide it into two chains< A permanent divergence in the block chain, commonly occurs when non upgraded nodes can't validate blocks created by upgraded nodes that follow new consensus rules, The UN upgraded node can verify the blocks proced by the upgraded node, and the upgraded node can also verify the blocks proced by the UN upgraded node<
a temporary fork in the block chain which commonly occurs when miners using non upgraded nodes vialate a new consensus rule their nodes don't know about.
I don't think we can say which definition is right or wrong. The specific definition can be summed up according to the differences between the two that have been widely agreed in the community, and it doesn't need authority to specify
hard fork: without forward compatibility, the previous version will be unusable and need to be upgraded
soft fork: it has good compatibility, at least some functions of previous versions are available, and can not be upgraded
hard branching: at the level of blockchain, there will be two branching chains, one old chain and one new chain
soft bifurcation: there are no forked chains at the level of blockchain, but only the blocks that make up the chain, including new blocks and old blocks
hard forking: it is necessary to agree with the forking upgrade at a certain time point, and those who do not agree will enter the old chain
soft bifurcation: for quite a long time, it is allowed to continue to use the original version to generate old blocks and coexist with new blocks without upgrading
e to the high network delay in peer-to-peer network, the transaction order observed by each node can not be completely consistent. Therefore, the blockchain system needs to design a mechanism to reach a consensus on the sequence of transactions that occur in the same time. This algorithm to reach consensus on the order of transactions in a time window is called consensus mechanism
-- chainknow
1. POW workload proof, which is familiar with mining, calculates a random number that meets the rules through and or operation, that is, obtains the bookkeeping right, sends out the data that needs to be recorded in this round, and stores it together with other nodes in the whole network after verification
advantages: complete decentralization, free access of nodes
disadvantages: bitcoin has attracted most of the computing power in the world, and other blockchain applications using POW consensus mechanism are difficult to obtain the same computing power to ensure their own security; Mining causes a lot of waste of resources; The period of reaching consensus is long, which is not suitable for commercial application.
2. Proof of rights and interests of POS, a mechanism of upgrading consensus of pow; According to the token proportion and time of each node; It can rece the difficulty of mining in equal proportion, so as to speed up the speed of finding random numbers< Advantages: to a certain extent, it shortens the time to reach a consensus
disadvantages: mining is still needed, which does not solve the pain point of commercial application in essence
3. Dpos share authorization certification mechanism is similar to the voting of the board of directors, in which the coin holders cast a certain number of nodes to verify and account on their behalf
advantages: greatly rece the number of participating verification and accounting nodes, which can achieve second level consensus verification
disadvantages: the whole consensus mechanism still depends on token, and many commercial applications do not need token to exist
4. Pool verification pool, which is based on traditional distributed consistency technology and data verification mechanism; It is a consensus mechanism widely used in the instry chain at present.
advantages: it can work without token, and realizes second level consensus verification on the basis of mature distributed consistency algorithms (pasox and raft)
disadvantages: the degree of decentralization is not as good as that of bictin; The multi center business model is more suitable for multi-party participation
it has great advantages in using consensus mechanism to ensure data consistency (the consensus mechanism is first proposed by ripple, and the network transaction synchronization mechanism with data correctness priority. In the consensus network, no matter how the software code changes, if you can't reach a consensus, you can't enter the network, let alone fork)
- - - - - - - -
PS: a little black, although the consensus mechanism can absolutely ensure that there will be no hard bifurcation at any time. However, the disadvantage of this mechanism is obvious, that is, it is much longer than the current bitcoin network to reach a consensus with other nodes. In extreme cases, the consequences of disconnection in ripple consensus mechanism network are also very terrible
it is possible that one day after the power failure in your home, the whole system will no longer be able to reach a consensus with other rippled nodes (in fact, the consensus mechanism requires more than 80% of the nodes to acknowledge your data before your submission will be accepted by other nodes, otherwise it will be rejected by exclusive nodes), Even you can only empty all your 500 GB data and resynchronize to connect to other ripple nodes
so at present, the existing rippled end is not suitable for civil use (if it is commercial, the impact is relatively small. For example, RL's own rippled node is hosted in Amazon cloud data center. If it has no response for a long time, it can make high claims, and there is almost no break in that place except for large disasters). This is one of the aspects RL has always wanted to improve.
you should never expect to get rich through bitcoin or any emerging technology. It's always important to be alert to anything that sounds incredibly good or goes against the basic laws of the economy
bitcoin is a growing field of innovation, where there are business opportunities as well as risks. Even though bitcoin has been developing at a high speed so far, there is no guarantee that it will continue to grow. Any investment of time and resources related to bitcoin requires entrepreneurship. There are many ways to make money with bitcoin, such as mining, speculation or new business. All of these methods are highly competitive and have no profit guarantee. Everyone should make their own appropriate assessment of the costs and risks involved in any such project
since 2013, popular virtual currencies include bitcoin, Laite coin, Fuyuan coin, doggy coin, reborn coin, etc.
it's very easy to upgrade the software in the centralized system. Click "upgrade" in the app store. However, in decentralized systems such as blockchain, "upgrade" is not so simple, and may even result in the bifurcation of blockchain
in short, bifurcation refers to the divergence of opinions ring the "upgrade" of the blockchain, which leads to the bifurcation of the blockchain. Because there is no centralized organization, every code upgrade of digital assets such as bitcoin needs to be approved by the bitcoin community. If the bitcoin community fails to reach an agreement, the blockchain is likely to form a fork
taking bitcoin as an example, in July 2017, in order to solve the congestion problem of bitcoin blockchain, some bitcoin enthusiasts proposed bitcoin cash bifurcation scheme, resulting in bitcoin blockchain split in two
according to whether the forked blockchain is compatible with the old blockchain, the forking can be divided into "hard forking" and "soft forking".
openness mainly refers to that the stored information in the blockchain is completely open to all participants. This is mainly determined by the point-to-point network storage mode of the blockchain. In the blockchain network, each node can store a of the blockchain, and the uniqueness of the blockchain can ensure that the is exactly the same between different nodes
security mainly refers to that the information stored in the blockchain block is saved after being processed by digital encryption technology, and only the private key holder can decrypt the information to obtain the real information. Other members can only see and verify the integrity and uniqueness of information, but cannot see the real information
uniqueness is mainly e to the fact that the information on the blockchain cannot be tampered with once it is on the chain, so it is unique. Of course, the uniqueness here also includes the uniqueness in space, that is, all nodes have only one version of information, and also includes the uniqueness in time, that is, the historical data cannot be changed. This uniqueness also means that the blockchain maintains the characteristics of a unique main chain in the process of operation, and once other chains appear, it is a bifurcation. The emergence of bifurcation will lead to the plication of blockchain in two different spatial dimensions. Of course, to solve this problem, we need to set reasonable consensus rules to avoid. When the concept of blockchain was hot, many related top domain names were registered and used as blockchain platforms.