Читать книгу Cryptocurrency All-in-One For Dummies онлайн

50 страница из 200

Sometimes when a group of developers disagrees with the direction a specific cryptocurrency is going, the members decide to go their own way and initiate a fork. Imagine an actual physical fork. It has one long handle, and then it divides into a bunch of branches. That’s exactly what happens in a cryptocurrency fork.

Some cryptocurrencies are implemented within open-source software. Each of these cryptocurrencies has its own protocol that everyone in the network should follow. Examples of such rule topics include the following:

 Block size

 Rewards that miners, harvesters, or other network participants get

 How fees are calculated

Hard forks and soft forks

Two types of forks can happen in a cryptocurrency: a hard fork and a soft fork.

Most cryptocurrencies consist of two big pieces: the protocol (set of rules) and the blockchain (which stores all the transactions that have ever happened). If a segment of the crypto community decides to create its own new rules, it starts by copying the original protocol code and then goes about making changes to it (assuming the cryptocurrency is completely open source). After the developers have implemented their desired changes, they define a point at which their fork will become active. More specifically, they choose a block number to start the forking. For example, as you can see in Figure 2-1, the community can say that the new protocol will go live when block 999 is published to the cryptocurrency blockchain.