Mining pool

Last updated

In the context of cryptocurrency mining, a mining pool is the pooling of resources by miners, who share their processing power over a network, to split the reward equally, according to the amount of work they contributed to the probability of finding a block. A "share" is awarded to members of the mining pool who present a valid partial proof-of-work. Mining in pools began when the difficulty for mining increased to the point where it could take centuries for slower miners to generate a block. The solution to this problem was for miners to pool their resources so they could generate blocks more quickly and therefore receive a portion of the block reward on a consistent basis, rather than randomly once every few years. [1] [2]

Contents

History

Mining pool share

Share is the principal concept of the mining pool operation. Share is a potential block solution. So it may be a block solution, but it is not necessarily so. For example, suppose a block solution is a number that ends with 10 zeros and, a share may be a number with 5 zeros at the end. Sooner or later one of the shares will have not only 5, but 10 zeros at the end, and this will be the block solution.

Mining pools need shares to estimate the miner's contribution to the work performed by the pool to find a block. There are numerous miner reward systems: PPS, PROP, PPLNS, PPLNT, and many more.

Mining pool methods

Mining pools may contain hundreds or thousands of miners using specialized protocols. [4] In all these schemes stands for a block reward minus pool fee and is a probability of finding a block in a share attempt (, where is current block difficulty). A pool can support "variable share difficulty" feature, which means that a miner can select the share target (the lower bound of share difficulty) on their own and change accordingly.

Pay-per-Share

The Pay-per-Share (PPS) approach offers an instant, guaranteed payout to a miner for their contribution to the probability that the pool finds a block. Miners are paid out from the pool's existing balance and can withdraw their payout immediately. This model allows for the least possible variance in payment for miners while also transferring much of the risk to the pool's operator.

Each share costs exactly the expected value of each hash attempt .

Proportional

Miners earn shares until the pool finds a block (the end of the mining round). After that each user gets reward , where is amount of their own shares, and is amount of all shares in this round. In other words, all shares are equal, but its value is calculated only at the end of each round.

Pooled mining

Pooled mining (BPM), also known as "slush's system", due to its first use on a pool called "slush's pool', uses a system where older shares from the beginning of a block round are given less weight than more recent shares. A new round starts the moment the pool solves a block and miners are rewarded Proportional to the shares submitted. [5] This reduces the ability to cheat the mining pool system by switching pools during a round, to maximize profit.

Pay-per-last-N-shares

Pay-per-last-N-shares (PPLNS) method is similar to Proportional, but the miner's reward is calculated on a basis of N last shares, instead of all shares for the last round. It means that when a block is found, the reward of each miner is calculated based on the miner contribution to the last N pool shares. Therefore, if the round was short enough all miners get more profit and vice versa.

Solo Mining Pool

Solo pools operate the same way as usual pools, with the only difference being that block reward is not distributed among all miners. The entire reward in a solo pool goes to the miner who finds the block.

Peer-to-Peer Mining Pool

Peer-to-peer mining pool (P2Pool) decentralizes the responsibilities of a pool server, removing the chance of the pool operator cheating or the server being a single point of failure. Miners work on a side blockchain called a share chain, mining at a lower difficulty at a rate of one share block per 30 seconds. Once a share block reaches the network target, it is transmitted and merged onto the blockchain. Miners are rewarded when this occurs proportional to the shares submitted prior to the target block. A P2Pool requires the miners to run a full node, bearing the weight of hardware expenses and network bandwidth. [5] [6]

Geometric method

Geometric Method (GM) was invented by Meni Rosenfeld. [7] It is based on the same "score" idea, as Slush's method: the score granted for every new share, relatively to already existing score and the score of future shares, is always the same, thus there is no advantage to mining early or late in the round.

The method goes as follows:

Double Geometric method

Generalized version of Geometric and PPLNS methods. [7] It involves new parameter: ("cross-round leakage"). When this becomes the Geometric method. When this becomes a variant of PPLNS, with exponential decay instead of a step function.

Transaction fees

Usually, the blocks in the cryptocurrency network contain transactions. Transaction fees are paid to the miner (mining pool). Different mining pools could share these fees between their miners or not. Pay-per-last-N-shares (PPLNS), Pay-Per-Share Plus (PPS+) or Full Pay-Per-Share (FPPS) are the most fair methods where the payouts from the pool include not only the block subsidy but also the transaction fees.[ citation needed ]

Multipool mining

Multipools switch between different altcoins and constantly calculate which coin is at that moment the most profitable to mine. Two key factors are involved in the algorithm that calculates profitability, the block time, and the price on the exchanges. To avoid the need for many different wallets for all possible minable coins, multipools may automatically exchange the mined coin to a coin that is accepted in the mainstream (for example bitcoin). Using this method, because the most profitable coins are being mined and then sold for the intended coin, it is possible to receive more coins in the intended currency than by mining that currency alone. This method also increases demand on the intended coin, which has the side effect of increasing or stabilizing the value of the intended coin. [8]

Some companies that sell hash power may do so by aggregating the work of many small miners (for example, NiceHash), paying them proportionally by share like a pool would. Some such companies operate their own pools. These can be considered multipools, because they usually employ a similar method of work switching, although the work they assign is determined by customer demand rather than "raw" profitability.

PoC mining

Similar to other mining technologies, the PoC, PoC+, PoS Proof of Space method allows the computing to be performed beforehand and all answers are stored on a miners hard drive, the heavy energy consumption for PoC is not required like it is for PoW mining and therefore PoC is almost always a more environmentally friendly blockchain choice. When mining happens the miner simply "looks" through the pre-stored answers and submits the best one found to the network, with minimal energy used to read the hard drives. Due to the low hardware specification requirements of the PoC mining process, this type of mining can be conducted on a regular PC still being used for other day-to-day tasks. The first PoC blockchain was brought online in 2014 and is known as Signum today, with other PoC chains coming out much later, examples: Chia, Flax, and BitcoinHD. The network difficulty, as well as other network and mining status information, can be viewed on any of the public mining pool dashboards, example: Mining Pool Dashboard A list of current PoC, PoS, PoC+ type mining pools are also tracked by some third party "Mining Pool Stats" pages, an example of one is Mining Pool Stats.

See also

Related Research Articles

Proof of work (PoW) is a form of cryptographic proof in which one party proves to others that a certain amount of a specific computational effort has been expended. Verifiers can subsequently confirm this expenditure with minimal effort on their part. The concept was first implemented in Hashcash by Moni Naor and Cynthia Dwork in 1993 as a way to deter denial-of-service attacks and other service abuses such as spam on a network by requiring some work from a service requester, usually meaning processing time by a computer. The term "proof of work" was first coined and formalized in a 1999 paper by Markus Jakobsson and Ari Juels. The concept was adapted to digital tokens by Hal Finney in 2004 through the idea of "reusable proof of work" using the 160-bit secure hash algorithm 1 (SHA-1).

Double-spending is the unauthorized production and spending of money, either digital or conventional. It represents a monetary design problem: a good money is verifiably scarce, and where a unit of value can be spent more than once, the monetary property of scarcity is challenged. As with counterfeit money, such double-spending leads to inflation by creating a new amount of copied currency that did not previously exist. Like all increasingly abundant resources, this devalues the currency relative to other monetary units or goods and diminishes user trust as well as the circulation and retention of the currency.

<span class="mw-page-title-main">Bitcoin</span> Decentralized digital currency

Bitcoin is the first decentralized cryptocurrency. Nodes in the peer-to-peer bitcoin network verify transactions through cryptography and record them in a public distributed ledger, called a blockchain, without central oversight. Consensus between nodes is achieved using a computationally intensive process based on proof of work, called mining, that secures the bitcoin blockchain. Mining consumes large quantities of electricity and has been criticized for its environmental impact.

Namecoin is a cryptocurrency originally forked from bitcoin software. It uses proof-of-work algorithm. Like bitcoin, it is limited to 21 million coins.

<span class="mw-page-title-main">Cryptocurrency</span> Digital currency not reliant on a central authority

A cryptocurrency, crypto-currency, or crypto is a digital currency designed to work through a computer network that is not reliant on any central authority, such as a government or bank, to uphold or maintain it.

Litecoin is a decentralized peer-to-peer cryptocurrency and open-source software project released under the MIT/X11 license. Inspired by Bitcoin, Litecoin was among the earliest altcoins, starting in October 2011. In technical details, the Litecoin main chain shares a slightly modified Bitcoin codebase. The practical effects of those codebase differences are lower transaction fees, faster transaction confirmations, and faster mining difficulty retargeting. Due to its underlying similarities to Bitcoin, Litecoin has historically been referred to as the "silver to Bitcoin's gold." In 2022, Litecoin added optional privacy features via soft fork through the MWEB upgrade.

<span class="mw-page-title-main">Bitcoin protocol</span> Rules that govern the functioning of Bitcoin

The bitcoin protocol is the set of rules that govern the functioning of bitcoin. Its key components and principles are: a peer-to-peer decentralized network with no central oversight; the blockchain technology, a public ledger that records all bitcoin transactions; mining and proof of work, the process to create new bitcoins and verify transactions; and cryptographic security.

<span class="mw-page-title-main">Primecoin</span> Cryptocurrency based on prime numbers

Primecoin is a cryptocurrency that implements a proof-of-work system that searches for chains of prime numbers.

Proof-of-stake (PoS) protocols are a class of consensus mechanisms for blockchains that work by selecting validators in proportion to their quantity of holdings in the associated cryptocurrency. This is done to avoid the computational cost of proof-of-work (POW) schemes. The first functioning use of PoS for cryptocurrency was Peercoin in 2012, although the scheme, on the surface, still resembled a POW.

GHash.io was a bitcoin mining pool subsidiary of CEX.io that operated from 2013-2016. The pool gained notoriety for briefly controlling more than 51% of bitcoin's computing power in 2014.

A blockchain is a distributed ledger with growing lists of records (blocks) that are securely linked together via cryptographic hashes. Each block contains a cryptographic hash of the previous block, a timestamp, and transaction data. Since each block contains information about the previous block, they effectively form a chain, with each additional block linking to the ones before it. Consequently, blockchain transactions are irreversible in that, once they are recorded, the data in any given block cannot be altered retroactively without altering all subsequent blocks.

Monero is a cryptocurrency which uses a blockchain with privacy-enhancing technologies to obfuscate transactions to achieve anonymity and fungibility. Observers cannot decipher addresses trading Monero, transaction amounts, address balances, or transaction histories.

A decentralised application is an application that can operate autonomously, typically through the use of smart contracts, that run on a decentralized computing, blockchain or other distributed ledger system. Like traditional applications, DApps provide some function or utility to its users. However, unlike traditional applications, DApps operate without human intervention and are not owned by any one entity, rather DApps distribute tokens that represent ownership. These tokens are distributed according to a programmed algorithm to the users of the system, diluting ownership and control of the DApp. Without any one entity controlling the system, the application is therefore decentralised.

<span class="mw-page-title-main">Ethereum Classic</span> Blockchain computing platform

Ethereum Classic is a blockchain-based distributed computing platform that offers smart contract (scripting) functionality. It is open source and supports a modified version of Nakamoto consensus via transaction-based state transitions executed on a public Ethereum Virtual Machine (EVM).

Proof of space (PoS) is a type of consensus algorithm achieved by demonstrating one's legitimate interest in a service by allocating a non-trivial amount of memory or disk space to solve a challenge presented by the service provider. The concept was formulated in 2013 by Dziembowski et al. and by Ateniese et al.. Proofs of space are very similar to proofs of work (PoW), except that instead of computation, storage is used to earn cryptocurrency. Proof-of-space is different from memory-hard functions in that the bottleneck is not in the number of memory access events, but in the amount of memory required.

<span class="mw-page-title-main">Firo (cryptocurrency)</span> Cryptocurrency

Firo, formerly known as Zcoin, is a cryptocurrency aimed at using cryptography to provide better privacy for its users compared to other cryptocurrencies such as Bitcoin.

<span class="mw-page-title-main">Bitcoin scalability problem</span> Scaling problem in bitcoin processing

The Bitcoin scalability problem refers to the limited capability of the Bitcoin network to handle large amounts of transaction data on its platform in a short span of time. It is related to the fact that records in the Bitcoin blockchain are limited in size and frequency.

In blockchain, a fork is defined variously as:

The proof-of-work distributed computing schemes, including Bitcoin, frequently use cryptographic hashes as a proof-of-work algorithm. Hashrate is a measure of the total computational power of all participating nodes expressed in units of hash calculations per second. The hash/second units are small, so usually multiples are used, for large networks the preferred unit is terahash, for example, in 2023 the Bitcoin hashrate was about 300,000,000 terahashes per second.

References

  1. Ittay Eyal with Emin Gün Sirer:"Majority is not Enough: Bitcoin Mining is Vulnerable Archived 2016-12-03 at the Wayback Machine " in the 18th International Conference on Financial Cryptography and Data Security(FC).2014
  2. Eyal, Ittay. "The Miner's Dilemma" (PDF). Cornell University. Archived (PDF) from the original on 2017-08-09. Retrieved 2017-05-23., In the IEEE Symposium on Security and Privacy (Oakland), 2015.
  3. "Closure of PEGA Pool's Mining Operations". PEGA Pool. Archived from the original on 6 October 2023. Retrieved 19 December 2023.
  4. Antonopoulos, Andreas M. (2014). Mastering Bitcoin. Unlocking Digital Cryptocurrencies. Sebastopol, CA: O'Reilly Media. p. 210. ISBN   978-1449374037. Archived from the original on 1 December 2016. Retrieved 7 January 2017.
  5. 1 2 Pedro., Franco (2015). Understanding bitcoin : cryptography, engineering and economics. Chichester, West Sussex: John Wiley & Sons. ISBN   9781119019145. OCLC   894170560.
  6. Antonopoulos, Andreas (2017). Mastering Bitcoin: Programming the Open Blockchain. O' Reilly Media. ISBN   978-1491954386.
  7. 1 2 Rosenfeld, Meni (November 17, 2011). Analysis of Bitcoin Pooled Mining Reward Systems. arXiv: 1112.4980 . Bibcode:2011arXiv1112.4980R.
  8. "The History of Bitcoin Mining Pools".