Comments (7)
Realmente, na Niobio cash todos os mineradores gostaram muito do resultado
from difficulty-algorithms.
Hey, how did you make these graphics?
from difficulty-algorithms.
Niobio Problem
Niobio was the first coin with a correct LWMA that had a hash attack problem. The 20x miner was not getting blocks at a lower difficulty than the constant miners, but when he left, their solvetimes were 2.5x higher than target, so they were losing. When he was present, D was low, but he was getting blocks too fast for the dedicated miners to get hardly any of them. There were frequently blocks with 1/2 hour delays when he left. But it appears he got tired of the activity and is no longer there. But Niobio still has problems, and it might be expected because in one instance, the attacker drove D 2.5x higher. The T=240 makes it harder to set D.
This is a close up view compared to the other charts.
Difficulty and solvetimes example from the problems at the beginning
:
Plura
Plura recently switched to LWMA and it seems to be helping a lot.
Haven
Haven started out with the initial Masari LWMA that had timestamp exploit. Someone finally found it and got a lot of blocks in a few hours, then Haven forked to get the newer version of LWMA.
from difficulty-algorithms.
Bitcoin Candy problem
This is by far the worst looking LWMA chart (out of those who did not make a mistake implementing it). It seems like they don't have dedicated mainers and some big miner always jumping on and off is causing problems.
from difficulty-algorithms.
Iridium Problem
Iridium was possibly the 2nd coin to start using LWMA and had a great history of using it. However, right before their POW fork to reduce hash attacks, hash attacks were causing significant problems. These were not timestamp manipulations. They had a stricter upper limit on solvetimes (+6xT instead of +7xT or 10xT) which made delays a little longer, but prevented difficulty from dropping anymore than it did. Each plot is about 1 day. The last plot where it drops is the POW change.
In reviewing the difficulties and solvetimes, it is clear a faster LWMA is needed to rise more quickly, as long as it does no come at acost in stability. So I sped up completion of the D-LWMA. The delays are a problem and the D-LWMA can't reduce them in this case. Removing the +6xT will help, but it will also cause the D to drop lower which can bigger oscillations which end in even longer delays. This motivated me to come up with an additional feature in the D-LWMA. So I can make it rise faster to reduce the number of cheap blocks, reduce delays a little, and prevent oscillations. But the bulk of the delay can't be stopped. I can't envision any potential solution in this type of hash attack that is within the scope of normal difficulty algorithms.
from difficulty-algorithms.
UltraNote
Ultranote was the last coin of the initial coins interested in LWMA to change over. The reason they were slow to change over is because they already had a good algo: Sumokoin's SMA with N=35 instead of 17. Only the last plot is LWMA. It looks like it will have noticeably fewer oscillations and fewer delays. SMA with N=35 is faster than LWMA with N=60 by about 30%, but it has a good bit more variation which attracts hash attacks when it goes low, causing the oscillations.
Intense
This is 3175 blocks per plot instead of 7500 like many above. This is since a little after the 166166 fork.
from difficulty-algorithms.
Wownero
BBScoin
BBScoin had the default FTL which is too far ahead in the future when they first switched to LWMA at block 60,000, but then fixed it at 72,500 as you can see in the chart.
Balkan
Balkan is unique in having T=30. Because of this, I advised them to use N=120 instead of 60. However, during the first few days, they had a big miner present who was willing to drive difficulty really high. It's settled down the last few days, but still a little higher than I would hope on the blocks stolen metric. It would have performed a lot better if they had used N=60. So now I'm more open to keeping all small coins in the range 45 to 60.
The first 3 plots are with default CN. The 4th plot you can see the switch to LWMA. soon after a big miner was causing their LWMA some big problems.
Graft
They made a substantial change to LWMA to make it drop quicker, so it's causing oscillations. You can read all about it in their issues.
This is on a timescale of 7500 blocks per plot same as the ones at the top of the page. This after the initial problems were solved. You can see it's changing more due to their "ATAN()" modification that makes it drop quicker. Notice solvetimes are below average despite the attacks. This because it's dropping too much.
A zoomed-in view:
from difficulty-algorithms.
Related Issues (20)
- Detecting & Empowering Dedicated Miners In 51% Attacks
- Self-Hashing Transactions to Generate Coin
- Smooth Coin-Emission Formula
- Correcting Chain Work
- Importing Chain Work with Notarizations HOT 2
- New Selfish Mining Attack?
- ASERT / NEFDA is the perfect DA? HOT 22
- EMA for BCH (part 2) HOT 159
- Confirmation time, long averaging windows, a history
- Quantifying the Consensus Trilemma
- Verge Attack, February 15, 2021 HOT 1
- Multishield's geometric mean to get chain work in Multi-POW coins
- Easier-to-remember Seed Words HOT 3
- Installation HOT 3
- WTEMA / ASERT as an RC filter
- what is latest solution for Lwma? HOT 6
- Difficulty algorithm for interesting hashes instead of lowest target
- Maybe you can help me with go Implemetation this version of lwma HOT 1
- Best Difficulty Algorithm, Timestamp Rules, Selfish Mining, Selecting N
- Estimating Chain Work Based on Lowest Hashes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from difficulty-algorithms.