- About Anoncoin
- Mining difficulty of AnonCoin - BitcoinWiki
- AnonCoin Know about Anoncoin price, Anoncoin mining ...
- Bitcoin Hashrate Falls 25% in 3 Days, Miners Unplug as ...
- Anoncoin Mining Calculator - Updated 2020 CoinWarz

I am sorry if this isn't the right subreddit to ask this. I did do a search but I only found C programmers for hire and a general for hire. If this isn't the right place, any point in the right direction would be greatly appreciated.

I have always and still do have an interest in Python and would love to learn how to write said language. Usually, with the help of google I can make small projects happen by my lonesome. However, this time I cannot and I'd like to leave it to an expert because I'd like this working soon.

So heres what I'm looking for; I need a script to run my 16x2 Character LCD plate that I have on my RPi B+ which is running Minera. Which if you're not familiar it is a BTC/LTC mining interface that keeps stats and such. I'd like the LCD to be able to show certain sections of criteria (hashrate, temp, rejected, accepted, runtime, etc) and be able to cycle through screens using the direction pad on the Pi's LCD plate. If I'm not completely wrong, that should all be able to be pulled from a local JSON file that displays every strings(?) value. So I'd like to think this wouldn't be a very challenging task for someone who knows a thing or two about Python.

I have tried to use other scripts as references but I have yet to find anything familiar enough or anybody generous enough to help. I have analysed the PiMiner cgminer script that displays stats but its completely different as far as I can tell. I also don't want stats from just one mining script I need the stats as a whole that Minera shows.

The JSON looks like:

Hope this "format" makes sense :|

Left/Right scroll below:

**Screen 1:**

**Screen 2:**

**Screen 3:**

**Up/Down Scroll Loop:** * **Top:** Litecoin Balance * **Bottom:** #Balance#

**Down/Up Scroll Loop:** * **Top:** Dogecoin Balance * **Bottom:** #Balance#

I hope I'm making sense but if you need me to be more specific, ask me. If could maybe afford to pay a little to get this done so if its something you think you could help me out with please give me a shout! :)

submitted by routedbydefault to SomebodyMakeThis [link] [comments]
I have always and still do have an interest in Python and would love to learn how to write said language. Usually, with the help of google I can make small projects happen by my lonesome. However, this time I cannot and I'd like to leave it to an expert because I'd like this working soon.

So heres what I'm looking for; I need a script to run my 16x2 Character LCD plate that I have on my RPi B+ which is running Minera. Which if you're not familiar it is a BTC/LTC mining interface that keeps stats and such. I'd like the LCD to be able to show certain sections of criteria (hashrate, temp, rejected, accepted, runtime, etc) and be able to cycle through screens using the direction pad on the Pi's LCD plate. If I'm not completely wrong, that should all be able to be pulled from a local JSON file that displays every strings(?) value. So I'd like to think this wouldn't be a very challenging task for someone who knows a thing or two about Python.

I have tried to use other scripts as references but I have yet to find anything familiar enough or anybody generous enough to help. I have analysed the PiMiner cgminer script that displays stats but its completely different as far as I can tell. I also don't want stats from just one mining script I need the stats as a whole that Minera shows.

The JSON looks like:

{"notrunning":true,"network_miners":[],"algo":"Scrypt","sysload":[0.09,0.15,0.14],"cron":null,"sysuptime":"212112","temp":{"value":"31.48","scale":"c"},"btc_rates":{"high_eur":373.1,"last_eur":372.5,"high":"416.92","last":"416.25","timestamp":"1458948092","bid_eur":372.15,"vwap_eur":371.52,"bid":"415.86","vwap":"415.15","volume":"2562.44589379","low_eur":368.7,"ask_eur":372.5,"low":"412.00","ask":"416.25","eur_usd":1.11745},"altcoins_rates":false,"avg":{"1min":[{"timestamp":1408447446,"pool_hashrate":0,"hashrate":0,"avg_freq":0,"accepted":0,"errors":0,"rejected":0,"shares":0,"last_share":0},{"timestamp":1402918202,"pool_hashrate":0,"hashrate":0,"avg_freq":0,"accepted":0,"errors":0,"rejected":0,"shares":0,"last_share":0}],"5min":[false,{"timestamp":1408447446,"seconds":300,"pool_hashrate":0,"hashrate":0,"frequency":0,"accepted":0,"errors":0,"rejected":0,"shares":0}],"1hour":[false,{"timestamp":1408447446,"seconds":3600,"pool_hashrate":0,"hashrate":0,"frequency":0,"accepted":0,"errors":0,"rejected":0,"shares":0}],"1day":[false]},"profits":[{"symbol":"btc","coin":"bitcoin","algo":"sha256","reward":25,"difficulty":165496835118.23,"blocks":404277,"networkhashps":1.1398866881043e+18,"volume":0,"price":0,"last_trade":1452828174,"ok":true,"coin_profitability":3.0388145485265e-9,"btc_profitability":3.0388145485265e-9,"timestamp":1458948243,"hashrate":1000000},{"symbol":"ltc","coin":"litecoin","algo":"scrypt","reward":25,"difficulty":57218.81882735,"blocks":963034,"networkhashps":1501568465553,"volume":0,"price":0,"last_trade":1452828192,"ok":true,"coin_profitability":0.0087893144353405,"btc_profitability":0,"timestamp":1458948243,"hashrate":1000000},{"symbol":"doge","coin":"dogecoin","algo":"scrypt","reward":10000,"difficulty":21956.78968544,"blocks":1142465,"networkhashps":1372153551869,"volume":0,"price":0,"last_trade":1452828452,"ok":true,"coin_profitability":9.161889283402,"btc_profitability":0,"timestamp":1458948243,"hashrate":1000000},{"symbol":"mec","coin":"megacoin","algo":"scrypt","reward":25,"difficulty":898.41652505,"blocks":574182,"networkhashps":241796528038,"volume":0,"price":0,"last_trade":1452826742,"ok":true,"coin_profitability":0.55977842823446,"btc_profitability":0,"timestamp":1458948243,"hashrate":1000000},{"symbol":"anc","coin":"anoncoin","algo":"scrypt","reward":2.5,"difficulty":207.90839468,"blocks":506856,"networkhashps":8810230872,"volume":0,"price":0,"last_trade":1451250050,"ok":true,"coin_profitability":0.2418922002002,"btc_profitability":0,"timestamp":1458948243,"hashrate":1000000},{"symbol":"aur","coin":"auroracoin","algo":"scrypt","reward":12.5,"difficulty":2.72522334,"blocks":206221,"networkhashps":26970494,"volume":0,"price":0,"last_trade":1452827107,"ok":true,"coin_profitability":92.270270643645,"btc_profitability":0,"timestamp":1458948243,"hashrate":1000000}]}>Below is the format I suppose would be needed. I hope it makes sense, haha. I hope I'm somewhat close to accurately conveying what is in my mind.

Hope this "format" makes sense :|

Left/Right scroll below:

**Top Row:**Current time**Second Row:**wlan0's local ip

**Top Row:**Accepted, Rejected, Errors.**Second Row:**Frequency, Shares

**Top Row:**Local hashrate, pool hashrate**Second Row:**Sysuptime, Temp

I hope I'm making sense but if you need me to be more specific, ask me. If could maybe afford to pay a little to get this done so if its something you think you could help me out with please give me a shout! :)

I've seen a number of people asking about why they should care about Megacoin and how Megacoin stands out from the rest of the pack in the world of cryptocurrencies, so I thought I would type of a brief summary of the points I can think of off-hand that set Megacoin apart. Feel free to add to my points or discuss!

Megacoin has a few notable improvements over Bitcoin (well, that is debatable... I consider them improvements) in the algorithm used to secure the network (which, to be fair, started with Litecoin), the user interface of the wallet, its website branding, and its marketing to the Chinese market.

Megacoin uses an encryption algorithm called "scrypt" for securing the network, whereas Bitcoin uses "SHA-256". Many other altcoins also use scrypt, but Megacoin is notable in that it implements scrypt off of the latest Bitcoin codebase instead of Litecoin like most all other altcoins. That means that the code behind Megacoin is newer and more stable than many other altcoins out there on the market.

Next, Megacoin uses a unique algorithm called Gravity Well for mining difficulty adjustments. If you don't know anything about cryptocurrency mining, don't worry about this, but know that it is a far superior method of making sure that malicious miners don't come in and try to harm the network. This means that the Megacoin network is much more stable and secure than most all other altcoins out there (except for Anoncoin, which actually uses the Gravity Well code developed for Megacoin).

Then we have the user interface of the wallet which has been completely redesigned from the standard Bitcoin QT wallet to be more user-friendly and better designed. Everyone has their own opinions about this but just in my own personal testing with friends who are not familiar with cryptocurrencies or even really all that tech-savvy, everyone I introduced to Megacoin much preferred the Megacoin wallet over the traditional Bitcoin wallet.

The lead developer of Megacoin also speaks Chinese and has marketed the coin to China from its conception. This includes a completely localized Chinese website on a Chinese domain as well. This may not seem like a big deal, but China has established itself as strong force in the world of cryptocurrencies in the past month or so, and therefore Chinese demand is a driving factor for future growth and overall Megacoin adoption. On this note, approximately $3 million USD have been traded for Megacoins every day for the past 3 days now on the Chinese exchange btc38.com, so it is clearly growing in popularity amongst the Chinese, and this should really help in establishing Megacoin as a serious contender in the crypto market.

Megacoin also has an extremely strong and dedicated community behind it working to provide services and products in exchange for the coin, which is always important for value and growth.

That's just about all I can think of right off hand but if you have any other questions let me know. :)

submitted by nyanpi to megacoin [link] [comments]
Megacoin uses an encryption algorithm called "scrypt" for securing the network, whereas Bitcoin uses "SHA-256". Many other altcoins also use scrypt, but Megacoin is notable in that it implements scrypt off of the latest Bitcoin codebase instead of Litecoin like most all other altcoins. That means that the code behind Megacoin is newer and more stable than many other altcoins out there on the market.

Next, Megacoin uses a unique algorithm called Gravity Well for mining difficulty adjustments. If you don't know anything about cryptocurrency mining, don't worry about this, but know that it is a far superior method of making sure that malicious miners don't come in and try to harm the network. This means that the Megacoin network is much more stable and secure than most all other altcoins out there (except for Anoncoin, which actually uses the Gravity Well code developed for Megacoin).

Then we have the user interface of the wallet which has been completely redesigned from the standard Bitcoin QT wallet to be more user-friendly and better designed. Everyone has their own opinions about this but just in my own personal testing with friends who are not familiar with cryptocurrencies or even really all that tech-savvy, everyone I introduced to Megacoin much preferred the Megacoin wallet over the traditional Bitcoin wallet.

The lead developer of Megacoin also speaks Chinese and has marketed the coin to China from its conception. This includes a completely localized Chinese website on a Chinese domain as well. This may not seem like a big deal, but China has established itself as strong force in the world of cryptocurrencies in the past month or so, and therefore Chinese demand is a driving factor for future growth and overall Megacoin adoption. On this note, approximately $3 million USD have been traded for Megacoins every day for the past 3 days now on the Chinese exchange btc38.com, so it is clearly growing in popularity amongst the Chinese, and this should really help in establishing Megacoin as a serious contender in the crypto market.

Megacoin also has an extremely strong and dedicated community behind it working to provide services and products in exchange for the coin, which is always important for value and growth.

That's just about all I can think of right off hand but if you have any other questions let me know. :)

Dear friends.

Below a full article that explains what the Kimoto Gravity Well is and the mathematics involved.

**TL;DR** -- "Difficulty is a measure of how difficult it is to find a new block compared to the easiest it can ever be. Originally its calculated by averaging the time it took to mine blocks during a 2 week period. Due to the influx of ASIC miners and "pool-hopping", mining difficulty can fluctuate dangerously killing or seriously harming the coin (It happened to Terracoin, Frathercoin, Megacoin and Anoncoin). KWG means that difficulty is adjusted after every single block that is mined on the network. It also determines the number of blocks which contribute to the evaluation of the new difficulty. It gives fewer blocks for high hashrate changes and is therefore more adaptive."

**What Is a Mining Difficulty Readjustment Algorithm, Anyway?**

To understand what the Gravity Well algorithm is and what it does, you first need to understand what a "mining difficulty readjustment algorithm" is and why is it important for all current cryptocurrencies based off of the original Bitcoin source code. First, let's pull a few important definitions from the Bitcoin wiki:

**Difficulty**

Difficulty is a measure of how difficult it is to find a new block compared to the easiest it can ever be.

**Difficulty Readjustment (for Bitcoin)**

The difficulty is adjusted every 2016 blocks based on the time it took to find the previous 2016 blocks. At the desired rate of one block each 10 minutes, 2016 blocks would take exactly two weeks to find. If the previous 2016 blocks took more than two weeks to find, the difficulty is reduced. If they took less than two weeks, the difficulty is increased. The change in difficulty is in proportion to the amount of time over or under two weeks the previous 2016 blocks took to find.

So basically, the "difficulty" of a coin determines how hard it is for miners to find and mint blocks of that coin. The more miners there are mining a coin, the faster blocks will be found and at the end of this difficulty readjustment period (approximately every two weeks for Bitcoin), the difficulty will change accordingly so that the number of coins minted will follow the intended distribution curve. This has worked well for Bitcoin (so far) because of it's extremely slow adoption rate in the early days and now because of the sheer number of miners on the network. However, this method of difficulty readjustment is flawed for new altcoins entering the market today for a number of reasons which I will discuss below.

**The History of the Gravity Well Mining Difficulty Readjustment Algorithm**

When some alternative crypto's like Megacoin were first launched, they used a more traditional difficulty readjustment algorithm based off of Bitcoin's original proposal. In the case of Megacoin, the difficulty was set to retarget every 22.5 minutes based on the same algorithm as Bitcoin, however, the developers later modified the source code to implement Kimoto Gravity retargetting because, by this time, some SHA-256 coins had already felt the pain of difficulty readjustment problems due to the influx of ASIC miners and an activity known as "pool-hopping".

If you are familiar with cryptocurrency mining at all, you may already know that in most cases, solo mining is usually impossible without extremely powerful hardware due to the large number of people now aware of cryptocurrencies and willing to mine for them. Most miners mine through pools, which provide proportional payouts of coins based on the amount of hashing power you provide to the network. This mitigates some of the risk of mining in that you receive a steady stream of coins based on your network hashing rate, so even small-time miners can still earn their share of the pie. However, as pool mining became more popular and more altcoins arrived on the market, services known as "multipools" began to appear. These were special pools that allowed miners to automatically switch to the "most profitable" coin to mine based on the current exchange rates. However, these new multipools introduced some new problems to the cryptocurrency landscape, one of those being major difficulty readjustment woes.

As some altcoins began to rise in price several months after its inception, it started to become a target for these multipools. What happens when this occurs is that suddenly the You-Name-It-Coin network gets barraged by an influx of new (and very powerful) miners. This causes the block confirmation time to plummet and subsequently causes the difficulty to skyrocket at the next difficulty readjustment. When this occurs, the mining profitability also drops due to the higher difficulty which then in turn causes all of the multipool miners to leave the network in search of the next most profitable coin. What remains is an extremely high difficulty and only the "core" group of a certain altocin's miners left to deal with the aftermath. In extreme cases, the difficulty may be so high in proportion to the number of miners left that the entire network grinds to a halt. This has happened in the past to Terracoin and Feathercoin, among others. The only solution if this occurs is to hard fork the coin in an attempt to readjust the difficulty (or change the difficulty readjustment algorithm) or simply grind out the mining at an extremely slow pace (during which time the coin is basically unusable) until enough blocks are found to make it to the next difficulty readjustment. The more blocks required until the next difficulty readjustment, the longer this period of unusability will be, and in some cases could mean the death of the coin completely unless drastic measures are taken.

When this happened to Megacoin for example, Kimoto decided to come up with a better way to perform difficulty readjustment, and the result is the Kimoto Gravity Well (which is now also used as the difficulty readjustment algorithm for Megacoin, Maxcoin, Anoncoin among others).

**Gravity Well: Explained**

Now that you know how the Gravity Well came to be, let's take a look at what exactly it does and how it works. At the most basic level, Kimoto has changed how difficulty readjustment works so that the difficulty is adjusted after every single block that is mined on the network.

The formula for the Kimoto Gravity Well (KGW) is the following

KGW = 1 + (0.7084 * (PastBlocksMass/144)^{-1.228})

The goal is to have a more adaptive way of adjusting the difficulty instead of just averaging the last 2016 blocks like bitcoin. This is needed because of multipools which might switch the coin they are mining, and a sudden change in hashrate can occur (both increasing or decreasing). Especially when a multipool switches away you get stuck too long with a too high difficulty.

The algo loops backwards through the blocks, starting from the current one. The PastBlocksMass is just the number of blocks, so it starts at one and increases in each loop.

In each loop an adjustment factor is computed, which is the target block time divided by the actual block time, in a cumulative fashion, so at loop 10 we would have the 25 minutes target time divided by the time it actually took to compute the last ten blocks. When the hashrate increases, we get shorter times and an adjustment factor greater than one and vice versa.

The loop ends whenever the average adjustment factor is larger than the kimoto-value, or smaller than 1/kimoto-value.

Summary: the Kimoto gravity well algo has a fancy name and determines the number of blocks which contribute to the evaluation of the new difficulty. It gives fewer blocks for high hashrate changes and is therefore more adaptive.

More details on the math's involved and a practical example can be found here :: https://bitcoin.stackexchange.com/questions/21730/how-does-the-kimoto-gravity-well-regulate-difficulty

**NOTE::** The two original post that inspired this article were focused solely on Megacoin. I made some small modifications to them so the post can be applied to any cryptocurrency on the market. Below the references.

**Original Post 1 (History & Background)** --- https://forum.megacoin.co.nz/index.php?topic=893.0

**Oroginal Post 2 (Mathematics & practical example)** -- https://bitcoin.stackexchange.com/questions/21730/how-does-the-kimoto-gravity-well-regulate-difficulty

**Original Release note of the Kimoto Gravity Well** -- https://bitcointalk.org/index.php?topic=240861.msg3040291#msg3040291

We have to know very well the fundamentals of what we love.

Have a great day

submitted by lapsaroundthesun to maxcoin [link] [comments]
Below a full article that explains what the Kimoto Gravity Well is and the mathematics involved.

To understand what the Gravity Well algorithm is and what it does, you first need to understand what a "mining difficulty readjustment algorithm" is and why is it important for all current cryptocurrencies based off of the original Bitcoin source code. First, let's pull a few important definitions from the Bitcoin wiki:

Difficulty is a measure of how difficult it is to find a new block compared to the easiest it can ever be.

The difficulty is adjusted every 2016 blocks based on the time it took to find the previous 2016 blocks. At the desired rate of one block each 10 minutes, 2016 blocks would take exactly two weeks to find. If the previous 2016 blocks took more than two weeks to find, the difficulty is reduced. If they took less than two weeks, the difficulty is increased. The change in difficulty is in proportion to the amount of time over or under two weeks the previous 2016 blocks took to find.

So basically, the "difficulty" of a coin determines how hard it is for miners to find and mint blocks of that coin. The more miners there are mining a coin, the faster blocks will be found and at the end of this difficulty readjustment period (approximately every two weeks for Bitcoin), the difficulty will change accordingly so that the number of coins minted will follow the intended distribution curve. This has worked well for Bitcoin (so far) because of it's extremely slow adoption rate in the early days and now because of the sheer number of miners on the network. However, this method of difficulty readjustment is flawed for new altcoins entering the market today for a number of reasons which I will discuss below.

When some alternative crypto's like Megacoin were first launched, they used a more traditional difficulty readjustment algorithm based off of Bitcoin's original proposal. In the case of Megacoin, the difficulty was set to retarget every 22.5 minutes based on the same algorithm as Bitcoin, however, the developers later modified the source code to implement Kimoto Gravity retargetting because, by this time, some SHA-256 coins had already felt the pain of difficulty readjustment problems due to the influx of ASIC miners and an activity known as "pool-hopping".

If you are familiar with cryptocurrency mining at all, you may already know that in most cases, solo mining is usually impossible without extremely powerful hardware due to the large number of people now aware of cryptocurrencies and willing to mine for them. Most miners mine through pools, which provide proportional payouts of coins based on the amount of hashing power you provide to the network. This mitigates some of the risk of mining in that you receive a steady stream of coins based on your network hashing rate, so even small-time miners can still earn their share of the pie. However, as pool mining became more popular and more altcoins arrived on the market, services known as "multipools" began to appear. These were special pools that allowed miners to automatically switch to the "most profitable" coin to mine based on the current exchange rates. However, these new multipools introduced some new problems to the cryptocurrency landscape, one of those being major difficulty readjustment woes.

As some altcoins began to rise in price several months after its inception, it started to become a target for these multipools. What happens when this occurs is that suddenly the You-Name-It-Coin network gets barraged by an influx of new (and very powerful) miners. This causes the block confirmation time to plummet and subsequently causes the difficulty to skyrocket at the next difficulty readjustment. When this occurs, the mining profitability also drops due to the higher difficulty which then in turn causes all of the multipool miners to leave the network in search of the next most profitable coin. What remains is an extremely high difficulty and only the "core" group of a certain altocin's miners left to deal with the aftermath. In extreme cases, the difficulty may be so high in proportion to the number of miners left that the entire network grinds to a halt. This has happened in the past to Terracoin and Feathercoin, among others. The only solution if this occurs is to hard fork the coin in an attempt to readjust the difficulty (or change the difficulty readjustment algorithm) or simply grind out the mining at an extremely slow pace (during which time the coin is basically unusable) until enough blocks are found to make it to the next difficulty readjustment. The more blocks required until the next difficulty readjustment, the longer this period of unusability will be, and in some cases could mean the death of the coin completely unless drastic measures are taken.

When this happened to Megacoin for example, Kimoto decided to come up with a better way to perform difficulty readjustment, and the result is the Kimoto Gravity Well (which is now also used as the difficulty readjustment algorithm for Megacoin, Maxcoin, Anoncoin among others).

Now that you know how the Gravity Well came to be, let's take a look at what exactly it does and how it works. At the most basic level, Kimoto has changed how difficulty readjustment works so that the difficulty is adjusted after every single block that is mined on the network.

The formula for the Kimoto Gravity Well (KGW) is the following

KGW = 1 + (0.7084 * (PastBlocksMass/144)

The goal is to have a more adaptive way of adjusting the difficulty instead of just averaging the last 2016 blocks like bitcoin. This is needed because of multipools which might switch the coin they are mining, and a sudden change in hashrate can occur (both increasing or decreasing). Especially when a multipool switches away you get stuck too long with a too high difficulty.

The algo loops backwards through the blocks, starting from the current one. The PastBlocksMass is just the number of blocks, so it starts at one and increases in each loop.

In each loop an adjustment factor is computed, which is the target block time divided by the actual block time, in a cumulative fashion, so at loop 10 we would have the 25 minutes target time divided by the time it actually took to compute the last ten blocks. When the hashrate increases, we get shorter times and an adjustment factor greater than one and vice versa.

The loop ends whenever the average adjustment factor is larger than the kimoto-value, or smaller than 1/kimoto-value.

Summary: the Kimoto gravity well algo has a fancy name and determines the number of blocks which contribute to the evaluation of the new difficulty. It gives fewer blocks for high hashrate changes and is therefore more adaptive.

More details on the math's involved and a practical example can be found here :: https://bitcoin.stackexchange.com/questions/21730/how-does-the-kimoto-gravity-well-regulate-difficulty

Have a great day

The Newbie's Guide to the Kimoto Gravity Well

Many of you may have heard of Kimoto's Gravity Well and that it is supposedly a major part of what makes Megacoin unique from other cryptocurrencies. However, many of you may also not know what exactly it is and what makes it so special. If that is the case, then this guide is for you.

What Is a Mining Difficulty Readjustment Algorithm, Anyway? To understand what the Gravity Well algorithm is and what it does, you first need to understand what a "mining difficulty readjustment algorithm" is and why is it important for all current cryptocurrencies based off of the original Bitcoin source code. First, let's pull a few important definitions from the Bitcoin wiki:

Difficulty Difficulty is a measure of how difficult it is to find a new block compared to the easiest it can ever be.

Difficulty Readjustment (for Bitcoin) The difficulty is adjusted every 2016 blocks based on the time it took to find the previous 2016 blocks. At the desired rate of one block each 10 minutes, 2016 blocks would take exactly two weeks to find. If the previous 2016 blocks took more than two weeks to find, the difficulty is reduced. If they took less than two weeks, the difficulty is increased. The change in difficulty is in proportion to the amount of time over or under two weeks the previous 2016 blocks took to find.

So basically, the "difficulty" of a coin determines how hard it is for miners to find and mint blocks of that coin. The more miners there are mining a coin, the faster blocks will be found and at the end of this difficulty readjustment period (approximately every two weeks for Bitcoin), the difficulty will change accordingly so that the number of coins minted will follow the intended distribution curve. This has worked well for Bitcoin (so far) because of it's extremely slow adoption rate in the early days and now because of the sheer number of miners on the network. However, this method of difficulty readjustment is flawed for new altcoins entering the market today for a number of reasons which I will discuss below.

The History of the Gravity Well Mining Difficulty Readjustment Algorithm When Megacoin first launched, it used a more traditional difficulty readjustment algorithm based off of Bitcoin's original proposal. (Author's note: I have forgotten what the original implementation was for Megacoin, but if anyone knows the details please let me know so I can put that here for perspective and history's sake.) By this time, some SHA-256 coins had already felt the pain of difficulty readjustment problems due to the influx of ASIC miners and an activity known as "pool-hopping".

If you are familiar with cryptocurrency mining at all, you may already know that in most cases, solo mining is usually impossible without extremely powerful hardware due to the large number of people now aware of cryptocurrencies and willing to mine for them. Most miners mine through pools, which provide proportional payouts of coins based on the amount of hashing power you provide to the network. This mitigates some of the risk of mining in that you receive a steady stream of coins based on your network hashing rate, so even small-time miners can still earn their share of the pie. However, as pool mining became more popular and more altcoins arrived on the market, services known as "multipools" began to appear. These were special pools that allowed miners to automatically switch to the "most profitable" coin to mine based on the current exchange rates. However, these new multipools introduced some new problems to the cryptocurrency landscape, one of those being major difficulty readjustment woes.

As Megacoin began to rise in price several months after its inception, it started to become a target for these multipools. What happens when this occurs is that suddenly the Megacoin network gets barraged by an influx of new (and very powerful) miners. This causes the block confirmation time to plummet and subsequently causes the difficulty to skyrocket at the next difficulty readjustment. When this occurs, the mining profitability also drops due to the higher difficulty which then in turn causes all of the multipool miners to leave the network in search of the next most profitable coin. What remains is an extremely high difficulty and only the "core" group of Megacoin miners left to deal with the aftermath. In extreme cases, the difficulty may be so high in proportion to the number of miners left that the entire network grinds to a halt. This has happened in the past to Terracoin and Feathercoin, among others. The only solution if this occurs is to hard fork the coin in an attempt to readjust the difficulty (or change the difficulty readjustment algorithm) or simply grind out the mining at an extremely slow pace (during which time the coin is basically unusable) until enough blocks are found to make it to the next difficulty readjustment. The more blocks required until the next difficulty readjustment, the longer this period of unusability will be, and in some cases could mean the death of the coin completely unless drastic measures are taken.

When this happened to Megacoin, Kimoto decided to come up with a better way to perform difficulty readjustment, and the result is the Kimoto Gravity Well (which is now also used as the difficulty readjustment algorithm for Anoncoin as well after it met a similar fate as that described above). And thus, we have the Megacoin we know and love today. Next I will discuss what exactly the Gravity Well does and how it works to keep mining stable and fair for all Megacoin miners and users.

Gravity Well: Explained Now that you know how the Gravity Well came to be, let's take a look at what exactly it does and how it works. At the most basic level, Kimoto has changed how difficulty readjustment works so that the difficulty is adjusted after every single block that is mined on the network. I'm not 100% sure about the exact mathematics behind the calculations, but so far since its introduction on the network the difficulty has adjusted smoothly and flawlessly no matter how many miners there are on the network and even throughout the huge price (and subsequent mining hash rate) increase we have seen over the past couple of weeks. This keeps mining fair and secure for all miners and users of the coin, and prevents the rampant multipool abuse that was (and still is) common with most all other altcoins out on the market today. This is even more important to consider when one day ASIC miners are developed for Scrypt coins and a small number of miners will suddenly have access to extremely powerful mining hardware. If and when this occurs, a malicious (or simply greedy) miner can simply point his or her ASIC miner at any Scrypt-based coin and cripple it because of the extreme difficulty fluctuation this will cause. (This is actually what happened with Terracoin after SHA-256 ASICS began to flood the market.) Megacoin, however, will be safe from this type of malicious mining behavior due to the smooth difficulty readjustment that Kimoto's Gravity Well provides.

Hopefully this will act as a guide for new investors to Megacoin who may have heard about Gravity Well but are not quite sure what it means or what it even is. If any of you have anything else to add to this, please post! Information is power. :)

submitted by RangerHammond to bunnyshibes [link] [comments]
Many of you may have heard of Kimoto's Gravity Well and that it is supposedly a major part of what makes Megacoin unique from other cryptocurrencies. However, many of you may also not know what exactly it is and what makes it so special. If that is the case, then this guide is for you.

What Is a Mining Difficulty Readjustment Algorithm, Anyway? To understand what the Gravity Well algorithm is and what it does, you first need to understand what a "mining difficulty readjustment algorithm" is and why is it important for all current cryptocurrencies based off of the original Bitcoin source code. First, let's pull a few important definitions from the Bitcoin wiki:

Difficulty Difficulty is a measure of how difficult it is to find a new block compared to the easiest it can ever be.

Difficulty Readjustment (for Bitcoin) The difficulty is adjusted every 2016 blocks based on the time it took to find the previous 2016 blocks. At the desired rate of one block each 10 minutes, 2016 blocks would take exactly two weeks to find. If the previous 2016 blocks took more than two weeks to find, the difficulty is reduced. If they took less than two weeks, the difficulty is increased. The change in difficulty is in proportion to the amount of time over or under two weeks the previous 2016 blocks took to find.

So basically, the "difficulty" of a coin determines how hard it is for miners to find and mint blocks of that coin. The more miners there are mining a coin, the faster blocks will be found and at the end of this difficulty readjustment period (approximately every two weeks for Bitcoin), the difficulty will change accordingly so that the number of coins minted will follow the intended distribution curve. This has worked well for Bitcoin (so far) because of it's extremely slow adoption rate in the early days and now because of the sheer number of miners on the network. However, this method of difficulty readjustment is flawed for new altcoins entering the market today for a number of reasons which I will discuss below.

The History of the Gravity Well Mining Difficulty Readjustment Algorithm When Megacoin first launched, it used a more traditional difficulty readjustment algorithm based off of Bitcoin's original proposal. (Author's note: I have forgotten what the original implementation was for Megacoin, but if anyone knows the details please let me know so I can put that here for perspective and history's sake.) By this time, some SHA-256 coins had already felt the pain of difficulty readjustment problems due to the influx of ASIC miners and an activity known as "pool-hopping".

If you are familiar with cryptocurrency mining at all, you may already know that in most cases, solo mining is usually impossible without extremely powerful hardware due to the large number of people now aware of cryptocurrencies and willing to mine for them. Most miners mine through pools, which provide proportional payouts of coins based on the amount of hashing power you provide to the network. This mitigates some of the risk of mining in that you receive a steady stream of coins based on your network hashing rate, so even small-time miners can still earn their share of the pie. However, as pool mining became more popular and more altcoins arrived on the market, services known as "multipools" began to appear. These were special pools that allowed miners to automatically switch to the "most profitable" coin to mine based on the current exchange rates. However, these new multipools introduced some new problems to the cryptocurrency landscape, one of those being major difficulty readjustment woes.

As Megacoin began to rise in price several months after its inception, it started to become a target for these multipools. What happens when this occurs is that suddenly the Megacoin network gets barraged by an influx of new (and very powerful) miners. This causes the block confirmation time to plummet and subsequently causes the difficulty to skyrocket at the next difficulty readjustment. When this occurs, the mining profitability also drops due to the higher difficulty which then in turn causes all of the multipool miners to leave the network in search of the next most profitable coin. What remains is an extremely high difficulty and only the "core" group of Megacoin miners left to deal with the aftermath. In extreme cases, the difficulty may be so high in proportion to the number of miners left that the entire network grinds to a halt. This has happened in the past to Terracoin and Feathercoin, among others. The only solution if this occurs is to hard fork the coin in an attempt to readjust the difficulty (or change the difficulty readjustment algorithm) or simply grind out the mining at an extremely slow pace (during which time the coin is basically unusable) until enough blocks are found to make it to the next difficulty readjustment. The more blocks required until the next difficulty readjustment, the longer this period of unusability will be, and in some cases could mean the death of the coin completely unless drastic measures are taken.

When this happened to Megacoin, Kimoto decided to come up with a better way to perform difficulty readjustment, and the result is the Kimoto Gravity Well (which is now also used as the difficulty readjustment algorithm for Anoncoin as well after it met a similar fate as that described above). And thus, we have the Megacoin we know and love today. Next I will discuss what exactly the Gravity Well does and how it works to keep mining stable and fair for all Megacoin miners and users.

Gravity Well: Explained Now that you know how the Gravity Well came to be, let's take a look at what exactly it does and how it works. At the most basic level, Kimoto has changed how difficulty readjustment works so that the difficulty is adjusted after every single block that is mined on the network. I'm not 100% sure about the exact mathematics behind the calculations, but so far since its introduction on the network the difficulty has adjusted smoothly and flawlessly no matter how many miners there are on the network and even throughout the huge price (and subsequent mining hash rate) increase we have seen over the past couple of weeks. This keeps mining fair and secure for all miners and users of the coin, and prevents the rampant multipool abuse that was (and still is) common with most all other altcoins out on the market today. This is even more important to consider when one day ASIC miners are developed for Scrypt coins and a small number of miners will suddenly have access to extremely powerful mining hardware. If and when this occurs, a malicious (or simply greedy) miner can simply point his or her ASIC miner at any Scrypt-based coin and cripple it because of the extreme difficulty fluctuation this will cause. (This is actually what happened with Terracoin after SHA-256 ASICS began to flood the market.) Megacoin, however, will be safe from this type of malicious mining behavior due to the smooth difficulty readjustment that Kimoto's Gravity Well provides.

Hopefully this will act as a guide for new investors to Megacoin who may have heard about Gravity Well but are not quite sure what it means or what it even is. If any of you have anything else to add to this, please post! Information is power. :)

Basic definitions []. Difficulty is a measure of how difficult it is to find a hash below a given target.The Bitcoin network has a global block difficulty. Valid blocks must have a hash below this target. Mining pools also have a pool-specific share difficulty setting a lower limit for shares.. The formula for difficulty: difficulty = difficulty_1_target / current_target Each ANC mining calculator input has been preloaded with the best Anoncoin mining hardware hashrate and energy consumption in watts, average electricity costs as well as the current Anoncoin price, Anoncoin block reward, and Anoncoin difficulty. Calculate your Anoncoin mining profitability and estimated mining rewards by starting with the ... Know about Anoncoin price, Anoncoin mining, ANC network. AnonCoin is the only one that supports the i2p darknet, which stands for Invisible Internet Project. Know about Anoncoin price, Anoncoin mining, ANC network. ... Bitcoin Close to $11000- Is the Wall Street Acquisitions Behind the Surge? September 15, 2020 Also remember that this is only estimation. Results may differ because of many factors: network hashrate, calculation of the average mining difficulty, pool luck, orphan block, coin value change, individual cards performance etc. With heavy rainfalls and flooding hitting Southwest China’s Sichuan province, the global computing power dedicated to mining bitcoin (BTC) has now dropped by about a quarter, as some Sichuan-based miners have been forced to unplug from the network. The bitcoin computing power, usually referred to as the hashrate, dropped from a level of more than […]

[index] [2601] [10172] [20739] [24972] [29260] [8930] [32969] [9538] [7116] [27765]

After the May 11 halving, some skeptics speculated that miners would capitulate or that the entire process would enter a death spiral. Fast-forward three mon... Bitcoin mining difficulty example. THIS IS CRAZY!! This is a great example of how fast the bitcoin community is upgrading their hardware and leaving my micro rig in the past. Well, I always heard the naysayers and bitcoin mining haters saying that Bitcoin mining (and other cryptocurrencies) is not worth it anymore… that you must be careful about the increasing ... bitcoin price hunt for $10,000! bitcoin mining difficulty price correlation discovered! bsv dump 😱 After the Bitcoin (BTC) mining difficulty jumped sharply today, mining has become 20% more difficult than right before the third BTC halving in May. However,...