Chia’s latest farming pool protocol fully explained

This article describes in detail the design principles, operation mechanism and technical background of Chia farming pool protocol.

In the official Chia video conference “Chia Pools for Pool Operators” held today, founder Bram Cohen and his team members shared the latest information and progress related to the Chia farming pool protocol, introducing in detail the design principles, operation mechanism and technical background of the Chia farming pool protocol. He also confirmed that the official farming pool protocol will be launched soon. The following content is compiled by “Blue Shell Cloud Storage” from the conference information, please refer to Chia official content.

Chia's latest farming pool protocol fully explained
Chia's latest farming pool protocol fully explained

The Chia team does not want its associated “farming pools” to become dominant, and even if in some cases this situation has already developed, they will ensure that these large farming pools cannot do evil. (A “farming pool” is the equivalent of a “mining pool” for other blockchain projects, and Chia officially refers to the process of obtaining block rewards as “farming farming,” which corresponds to “mining mining” for other projects. (Mining” of other projects)

Mariano S., one of the leaders of the farming pool protocol in the Chia team, said that in most mining pool protocols under the Proof of Work mechanism, the pool creates the blocks and the miners do the hash collisions, and the “block creation” is directly related to the The “creation of blocks” is directly related to the “issuance of token rewards”, and this mechanism gives the pool a great deal of control.

In Chia’s farming pool protocol, the “block creation” is completely separated from the “farming pool protocol”, and the farming pool is only responsible for the “token reward distribution”. It collects all the token rewards from farmer farmer (equivalent to the role of “miner miner” in other blockchain projects) and distributes them to these farmers in proportion. These farmers can either run their own full node or connect themselves to a third party and proxy them to run the full node for themselves.

Chia's latest farming pool protocol fully explained

Basic principles in the design of the Chia farming pool

Security for farmers: farmers do not need to trust the farming pool, and farmers never need to upload their private keys to the pool, which are all stored locally.

Since the pool in the proof-of-work mechanism does not involve private keys, miners simply keep making hash collisions and submitting them to win rewards, and miners need to invest their own computing power into the pool, so there is no cheating involved. However, in the Proof of Space mechanism of Chia, since it involves the private key to create signatures, its farmers are not bound to the farming pool, so theoretically the farmers can win Chia and at the same time go to the other side to sign, appearing to multi-dig cheating behavior. To avoid such cheating and to ensure its security, Chia’s farming pool protocol is more complex and difficult to build compared to a normal mining pool protocol.

Security for the farming pool: Plots are cryptographically tied to a smart contract that points to a specific farming pool, thus preventing farmers from cheating. 1.75/.25 reward splitting mechanism (of the 2 Chia tokens earned by creating a block, 1.75 tokens go to the farming pool and are then distributed proportionally to all farmers, while the remaining 0.25 tokens are is awarded directly to the farmer who wins the block) will also effectively counteract attacks between farming pools.

In the current version, the public key is stored cryptographically in the P-turf. The team tried to prevent farmers from cheating by multi-mining by storing the farming pool addresses encrypted in the P-map, but this would prevent farmers from changing farming pools, and once the P-disk is completed, they would only be able to join a specific farming pool, which is not only very inconvenient, but also leads to a centralized farming pool. The team decided to use smart contracts to bind the farming pool addresses, which effectively solved the above problem.

Block creation is more decentralized: farmers can choose to run their own full nodes, thus contributing to decentralization, or they can choose to proxy the farming pool to run full nodes for themselves.

Freedom to change farming pools: Farmers can change farming pools at any time without having to re-pan, while ensuring that farmers cannot cheat on their farming pools to win more rewards. No “registration”, “username”, “password”, etc., farmers can change farming pools directly on the chain and start farming directly.

Blockchain backup system without repeated configuration: Suppose a farmer owns two computers A and B, which use the same key (the same 24 associated words), then as soon as one of the computers joins a farming pool, the other computer will automatically join the pool and farm, without repeated manual configuration.

What is a Singleton?

Each Singleton is unique, similar to an NFT, and once it is created on the blockchain, it is forever unique. In the new Chia farming pool P-map, a specific Singleton pay to singleton address will be included.

Chia's latest farming pool protocol fully explained

The user creates your first Singleton with a Singleton genesis coin, which can be any Chia token in your wallet, because the user wants to generate a record on the Chia blockchain by spending Chia tokens to start creating Singleton.

When creating a unique Singleton, users can add specific farming pool-related information to it, including the address of the farming pool, URL, and the user’s public key, all of which will be on the chain.

Chia's latest farming pool protocol fully explained

Once the user wants to update the information on the Singleton, he needs to spend the Singleton to create a new Singleton, which will have the same ID as the original Singleton, that is, the Singleton itself cannot be modified, and updating its information means destroying the old Singleton and creating a new Singleton with the same ID. Singleton and create a new Singleton with the same ID.

When a block is successfully harvested, the 1.75 tokens allocated by the farming pool do not go directly to the user or the farming pool, but into the Pay to singleton puzzle, where only the farming pool is entitled to receive these tokens.

When a user wants to change to a new farming pool, he needs to use the existing Singleton to create a new Singleton with the information of the new farming pool, and after a certain period of time, the user will change to the new farming pool. A Singleton corresponds to a specific farming pool, and each farming pool determines whether a user is one of its members by looking at the Singleton information on the blockchain.

Chia's latest farming pool protocol fully explained

Beta Demo

Each Pool Tab represents a Singleton, and on the Pool Tab, you can see the “Pool Name”, “Pool URL”, “Earned On the Pool Tab, you can see “Pool Name”, “Pool URL”, “Awarded”, “Current Difficulty”, “Points Balance”, etc.

Chia's latest farming pool protocol fully explained

Users can choose to form their own farming pools (farming rewards will go directly to their wallet address) or join other farming pools. To join another farming pool, simply enter the farming pool address into the blank field of Connect to pool and the information about the pool will automatically pop up below. By carefully verifying this information, users can ensure that they are not joining a malicious farming pool to avoid fraud.

Chia's latest farming pool protocol fully explained

In the new Point points system, suppose A contributes a difficulty of 1000 and B is 10, then A is naturally more important and more valuable than B because the proof of A is more difficult than the proof of B. When users farm through the farming pool, in the database of the farming pool, they will be awarded points corresponding to the difficulty they contribute (e.g., 10 points if they contribute a difficulty of 10), thus the farming pool The user can keep track of the points they have, and they can check their points at any time.

The Join a Pool option has been added to the settings menu of the P-Pad. In the menu you can choose none, i.e. you can farm the way you used to, or you can choose Singleton created by yourself (each Singleton points to a specific farming pool).

Chia's latest farming pool protocol fully explained

Q & A

Q: Can I join two different farming pools with one P-map?

A: No, your P-chart is bound to a Singleton, and a Singleton can only point to a specific farming pool set by you at a time.

Q: Can I block users from a farming pool?

A: Yes, because the Singleton ID is stored encrypted in the P-map, a farming pool can theoretically block users. While a farming pool cannot ban a user from pointing themselves to their farming pool, a farming pool can ban a user by not issuing them a reward. In any case, the farming pool rewards remain under the control of the farming pool.

Q: Is it possible for a farming pool to run away with the money?

A: If the farming pool pays you the rewards you are entitled to, there is no problem. However, some rogue farming pools can run away within the payment interval – that is, within three days. Theoretically, such rogue farming pools can indeed collect all the rewards within three days and then run away without paying out the rewards to the farmers. Therefore, the reputation of a farming pool is an important thing for users to investigate before joining a farming pool, after all, no one wants to join a rogue farming pool. In addition, users always have the option to change farming pools, so once they find out that the farming pool they join is not working well, they can immediately change to another farming pool.

Q: How do users use Singleton?

A: Users create Singleton through Chia’s official graphical operating system by adding a P-chart NFT to the corresponding screen. For users who do not have Chia tokens or mojos (the smallest unit of Chia tokens), they can pick them up at the official Chia tap at faucet.chia.net, or users can take some mojos from their friends.

Q: When you set a limit on proofs per user, do you also set a limit on farm size per user?

A: No, the two are independent. If you have 100P of space and set the proof difficulty very high, you may end up with as many daily proofs as someone with 1T of space.

Q: For users who want to use multiple Singleton to connect to the same farming pool, do I need a separate login for each Singleton?

A: Yes, currently each Singleton requires a separate login. However, this is only the first version of the Chia farming pool protocol, and more features will be added later.

Q: Is it possible to change the 1.75/.25 bonus split ratio?

A: No, this ratio is in the source code and consensus, so it cannot be changed. The reason we added this ratio is that if there is a farming pool that is larger than a certain percentage of the network, then in principle, it can attack other farming pools to make money for itself. This reward split is necessary to make the whole network healthier, and it ensures that those farming pools or farmers that are attacked still get part of the reward. Those traditional mining pool protocols that do not have reward splitting are bad. Also Chia’s transaction fees all go directly to the farmers, as we want the farmers to create the blocks, not the farming pools, and this will be a powerful weapon against the malicious behavior of some farming pools. Also as rewards are halved in the future, the number of reward splits will also be halved, but the ratio will remain the same.

Q: How does a farming pool set the minimum limit for withdrawals and can it be changed based on changes in transaction fees across the network.

A: This is entirely up to the individual farming pools.

Q: Is there a linear correlation between difficulty and access to proof?

A: It is completely linearly correlated. It is also related to Time Lord’s speed, though most of the time we assume that Time Lord’s speed is constant.

Q: Will the reward mechanism be changed in the future? Can we block the farming pool and is Chia really decentralized or not?

A: Regarding the first question, the reward mechanism will not change. Everything we release now is based on Layer 2, and we will not change anything in the future. We are not going to fork, we will never go for a hard fork, and we don’t have any plans for a soft fork for a long time. Again, the reward mechanism will not change, we are not a dictator of the Chia network, which is a decentralized network. On the second question, we cannot block the farming pool because it is a decentralized network, we do not own the network and therefore it is not under our control, so we cannot block the farming pool. On the third question, yes, we are very decentralized, and we certainly hope that in the future Chia will be more decentralized in order to build a healthier ecosystem, and we hope that there will be multiple farming pools competing with each other, rather than one dominant pool.

The development of Chia is currently on schedule, but it’s accelerating, and Chia has been growing faster than we could have imagined, so the demand for a farming pool protocol is more urgent than we expected, knowing that the price of Chia has stabilized in less than a month, and we’re doing everything we can to launch the farming pool protocol as soon as possible.

Q: Can anyone build a farming pool?

A: Yes. But it’s not easy to build and run a farming pool, you need to go through a series of related applications, as well as KYC, AML, etc. Also, we certainly won’t be building an official farming pool of our own, we want the ecosystem to be healthy.

Chia's latest farming pool protocol fully explained

Finally, the officials said that they will not give any further advance notice of the exact time when the farming pool protocol will go live, but will go live after the current farming pool protocol is officially considered ready and all bugs are resolved as much as possible. In addition, after the test network version of the farming pool protocol goes live, once officials confirm that the test network version of the farming pool protocol can run in an orderly manner for three days without major bugs, officials will go live with the farming pool protocol for everyone on the main network.

Posted by:CoinYuppie,Reprinted with attribution to:https://coinyuppie.com/chias-latest-farming-pool-protocol-fully-explained/
Coinyuppie is an open information publishing platform, all information provided is not related to the views and positions of coinyuppie, and does not constitute any investment and financial advice. Users are expected to carefully screen and prevent risks.

Like (0)
Donate Buy me a coffee Buy me a coffee
Previous 2021-06-04 00:17
Next 2021-06-04 00:24

Related articles