Showing posts with label Mining. Show all posts
Showing posts with label Mining. Show all posts

Wednesday, April 15, 2015

Properties of Bitcoin


Collecting firewood in


2.5 Billion people are without a traditional banking system. The rise of bitcoin in the last few years have started conversations about what constitutes a valid currency and how new currencies create value. Bitcoin is a useful form of money that can be exchanged regardless of the origin of the participants involved in the transaction. The characteristics of money are defined by scarcity, divisibility, portability, durability, fungibility, and recognizability. Bitcoin meets the requirements to be considered a viable form of money. As no central authority owns the bitcoin protocol, a transaction can be recorded on the blockchain that ties ownership of a good to the owner of those bitcoin. This creates a new value creation tool for goods that previously were not able to be traded outside of a regional market.


The properties of bitcoin are defined by mathematics, rather than value based on material goods or issue by a central authority. The value created by these algorithms  molds a currency that only relies on trust and the level of adoption. The adoption of bitcoin is measured by the frequency of users, merchants, or other parties exchanging the currency and the level of acceptance. An increase in the frequency of bitcoins exchanged does affect the price.


Bitcoin’s price is created by supply and demand. As demand for bitcoin fluctuates, the price will also change. When demand for bitcoin decreases, so does the price. There will only ever be 21 million bitcoins created. This creates a predictable rate of how many bitcoins will enter the market and inflation can be predicted if demand does not match the level of inflation. If the level of demand does not match the changing level of inflation, the price will fluctuate. Bitcoin’s overall market share is relatively small, and because of this small pool of currency, the price can become volatile when significant amounts of money are exchanged.

File:Hadrian Denarius.jpg


If bitcoin as a currency does not reach a high level of adoption, it can still hold value. Romans used the silver denarius as a means of exchanging currency and the coins still hold value today even though the coins are no longer in circulation. As long as there are people using bitcoin they will hold value. The usefulness of bitcoin boils down to trusting the reliability of the decentralized ledger and using bitcoins that are validated and recorded on the blockchain. Transactions being recorded on the blockchain, verified, and posted are referred to as blocks. It takes approximately ten minutes to solve, or validate, a block. There is an analogy I enjoy using from a talk Andreas Antonopoulos gave at MIT that describes the adjusting difficulty of validating a bitcoin transaction.



The analogy begins by describing a room with 50 people, each with their own Sudoku puzzle. The amount of rows and columns have been calculated to have the Sudoku solved in approximately 10 minutes. A reward is posted for the first person to solve the puzzle at 25 bitcoin. As the timer begins people have started to walk towards the front of the room to have their puzzle solution validated as correct. After 9 minutes of continuous attempts someone shares the correct solution, and is paid 25 bitcoin. The next round begins and someone solves the puzzle in 8 minutes. The puzzle is made more difficult as rounds are being solved faster than ten minutes. More rows and columns are added to the puzzle to adjust the time taken to solve the puzzle on average. After a few more rounds, a large crowd enters the room and now 500 people are attempting to solve a puzzle in 10 minutes. More rows and columns are added to the puzzle to adjust for the number of new players. The players are randomly guessing and checking their answers until the correct answer is discovered. That random element is also used in the bitcoin protocol as cryptographic nonces assign values to each transaction so it can be verified.

Test (assessment)



These basics give an overview of the technical complexity of bitcoin. Financial inclusion will increase for unbanked individuals as more consumers begin to use bitcoin and adoption increases. The ability to increase financial inclusion without the risk of fraud, laundering, or other negative financial disruption is unique feature that bitcoin offers. Economic uses of bitcoin are just the tip of the iceberg for the usefulness of the technology. Read other posts on the sidebar or an expanded look at how blockchain technology is affecting other industries.

Monday, April 6, 2015

Mining Pools and Reward Systems

Combining Hashing Power

Individual Mining Shifts to Mining Pools


bitcoin-565.jpg


In the beginning years of Bitcoin, personal mining computers were a possible means of verifying transactions and earning BTC. Now, a personal computer will have a statistically low chance of solving a block, and the energy consumption required to successfully mine a block makes the endeavor a negative investment. Mining Pools are a function of the Bitcoin Protocol that allows miners to combine resources and pool hashing power to increase their collective odds of validating blocks with other miners. Reward for solving a block are split between users who participated in the mining pool towards solving the block. Hashing power is the gauge of computing power that a pool possess. The distribution of hash rates amongst miners can be found at blockchain.info.


Miningpoolpiechart.png


Mining Pools

The payment of 25 BTC that is awarded after successfully validating a block, can be split depending on the distribution model of each mining pool. A share is created by the client when a user provides a valid Proof-of-work for a lower difficulty than the current level of difficulty. Each share on average will give you the block reward after pool fees, divided by the difficulty. If the BTC reward is 25 BTC, the transaction fee is 2%, and the difficulty is 250,000, each share will give about .000098 BTC or 98 μBTC. There are various reward types available, here is a sample of a few popular reward structures:

Reward Types

Pay Per Share [PPS]

Each share that is solved by the miner is given a value of BTC. This method is a guaranteed way for a miner to be instantly paid for their contributions. The pool operator is the carrier of most of the risk but the payout are distributed fairly. The level of shares required to solve a block is dependent on the level of difficulty. This type of reward system is difficult to maintain. A large reserve of bitcoin must be able to payout to miners in the event of long periods of not receiving any rewards.

Proportional
When a block is found, a miner is paid based on the based on the proportion of shares the users found individually.


bitcoinmining.jpgPay Per Last N Share [PPLNS]

After a block is found, payment is configured based on a maximum set number of shares instead of just distributing rewards based on the total number of shares during that round. If a user does not have any shares in the window of shares that are being rewarded, there will be no payment to the user. This window of accepted shares can pay out miners from past rounds even if they did not participate in the current round. The number of shares contained in a PPLS reward system vary based on the level of difficulty set to each block.


Double Geometric Method [DGM]

This is a popular type of reward distribution model that puts some risk with the mining operator. A score value is set to each miner and payment is based on that score. As rounds are completed, scores can be carried over but vary based on the level of difficulty of previous blocks. The longer the round between each block, the higher the score the user can transfer. This reward system is considered a geometric method because shares decay in geometric sequence in two directions. Every share found and every block found decreases the variable score. If users have too high of a score, a periodic rescaling can be applied. This ultimately rewards the user with a small score during short rounds, and during longer rounds the score can accumulate that decays at an calculated rate.

If you are interested in mining or mining pools, I recommend understanding the reward system that each pool offers before deciding to dedicate resources. Mining Pools have large amounts of processing power in the Bitcoin Network but do not steer the direction of Bitcoin development. Bitcoin is a consensus protocol. This consensus network is decentralized and spread out throughout all users participating in the economy. If a mining pool tries to cheat the system in some way, by creating false coins, starting disruptive forks, or other malicious modifications, those coins can easily be tracked and marked as such.