Comments (3)
I found your email in my spam folder and sent the discord invite. N=30 varies too much. It will attract on-off mining. BTG has good code for BTC coins
from difficulty-algorithms.
Hello. I am looking for a simple LWMA n=30 implementation that is compatible with bitcoin 0.15.99 source. I have tried emailing you and am also available via Discord in the Pigeoncoin server. Would love to discuss this with you before implementing it from scratch.
from difficulty-algorithms.
As the POW mining situation changes, 3 more coins have seen unfriendly oscillations in LWMA caused by on-off mining. Mainly Masari who previously had the best long-term success with LWMA. Wownero and Intense have also been seeing some oscillations. BTC had by far the worst problem, and they came up with what is so far working great. There is only 6 days of data.
Here it is before and after. First on a big scale to show how big the peaks were, then on my normal scale so that it does not appear overly smooth compared to other LWMAs,
They lowered they N to 45 and used the following logic::
if ( avg_10_ST < T/4 & next_D < 2*avg_10_D )
{ next_D = 2*avg_10_D; }
else if (avg_10_ST < T/2 & next_D < 1.5*avg_10_D )
{ next_D = 1.5*avg_10_D; }
if ( next_D < 0.77*prev_D )
{ next_D = 0.77*prev_D; }
I will investigate trying to optimize this because I don't think it will help Masari's nearly-awful oscillations and the less-bad oscillation situations. Time will show if on-off miners find a different oscillation pattern to get more out of the above.
Here is a link to their code which is done on targets instead of difficulty.
https://github.com/bitcoincandyofficial/bitcoincandy/blob/e92e12c1b5fb9df46e2cd2f29403c7bd44e7ec35/src/pow.cpp#L113
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.