The story of how BCHs 2020 DAA came to be.

7 624
Avatar for TomZ
Written by
4 years ago

About a year ago discussions started around the Bitcoin Cash DAA (Difficulty Adjustment Algorithm). It was getting clear that there were problems, but frankly only a small number of people looked close enough to know about the malfunction at all.

Today I want to briefly talk about how the design, selection and creation of shippable solutions for this malfunction happened, and why that has been so beautiful.

The story started some 6 months ago with a video from an independent developer that explained the actual issue, it showed a zoomed-in version of the mining data that was much richer than you find on a website, and suddenly with one video, the whole problem with the DAA became clear to everyone. And this really kicked off the journey to fix it.

A handful of enthusiasts started to investigate the issue early on, come up with solutions, work together and compare their results. It is important to realize that most of those people are closer to mathematicians than they are software developers, the problem they were solving was really a math problem, after all. The beauty of what happened is that those people were not employed to work on this. On top of that the research happened in the open, with published papers, test data and similar being shared between them. No company lawyers that wanted to keep things secret!

The next stage of the journey started when one guy put in the hours (including nights!) to use all these ideas from these mathematicians and he extended modeling software to find out what algorithms and options worked best. His report of findings blog was a turning point because he converted the work from theoretical into practical. He made things accessible to a much larger audience.

Where before there were a handful of people working on this problem, now we had an avalanche of helping hands. One of the deliverables is the C++ implementation, this is really not much code, yet it had half a dozen people make changes and fixes and clarifications, as a clear example of this collaboration.

This stage was where the effort to fix the DAA turned, for lack of a better word, global. Practically everyone that is active in BCH joined in, learning from others, making some fixes that nobody spotted yet, doing a video about it, answering questions on Reddit or even writing a blog to inform the people about progress and more.

The result is something I think everyone in the BCH community can be proud of. The ASERT algorithm is likely the most researched, proof-read and tested DAA-proposal in existence. And due to the massive engagement, a huge amount of people actually have more than passing knowledge about it, which is really amazing for something so technical. And it will be part of BCH come November at the scheduled Protocol Upgrade!

I personally went in skeptical, asked loads of questions, probably overwhelming some. But nobody got upset about questions, instead they rose to the occasion. They told me more, I got to understand the design. I became part of the movement. I even got some minor component in the spec to be renamed to something I think explains things better :-)

The aserti3-2d DAA is the first really proof-driven protocol change in BCH, chosen on merit not by one person but practically by everyone in the community. And not some design-by-committee either, no, the many developers had the opportunity to actually be part of this meritocratic process. And most jumped in and did.

As this is partly a personal story, my point of view, I want to add as a personal opinion that I believe that this is how governance of BCH can work and should work. A proof-driven process. Where people are less important than the work. Where the result is more important than ego or even a nodes' market-share.

Because in Bitcoin Cash the fixes we make, the features we add, those make our coin more valuable to more people. As our economy grows this helps all of those working in and on Bitcoin Cash.

31
$ 22.31
$ 13.37 from @molecular
$ 2.68 from @TheRandomRewarder
$ 2.00 from @ErdoganTalk
+ 10
Avatar for TomZ
Written by
4 years ago

Comments

I wonder why ABC does not want to implement the ASERT code.

$ 0.00
4 years ago

they don't have to implement it. All they need to do is push "accept change request". the code has been written and supplied to them by others (@jtoomim and others) in a form that allows them to do that.

$ 0.00
4 years ago

The ASERT algorithm is likely the most researched, proof-read and tested DAA-proposal in existence. And due to the massive engagement, a huge amount of people actually have more than passing knowledge about it, which is really amazing for something so technical. And it will be part of BCH come November at the scheduled Protocol Upgrade!

if the bolded part is true this will be a great victory for Bitcoin, because then we will have shown the developers of the main node implementation can in fact be "fired" by the community. something that was asserted a lot, but never shown. Some say this is the ratinale behind Amaurys behavior. In that case I would draw my hat before that great man. Remains to be seen, though.

EDIT: due to unexpected turn off events this turned out to be false. asert included (by abc, which I thought impossible), yet no victory: Ifp is back

$ 0.10
4 years ago

Some say this is the ratinale behind Amaurys behavior.

what people are saying this? 🤔

$ 0.00
4 years ago

Because in Bitcoin Cash the fixes we make, the features we add, those make our coin more valuable to more people. As our economy grows this helps all of those working in and on Bitcoin Cash.

maybe time to take another look at that "Roadmap" 🧐

$ 0.00
4 years ago

Well written article, but from the title, I expected reminders of how the first BCH DAA came to be, with parallels to the recent DAA debate.

$ 0.00
4 years ago

Ha ha, yeah, I see. We will soon activate the 4th DAA by now. How time flies...

$ 0.00
4 years ago