Closed acud closed 1 year ago
I would maybe suggest having a look on the Bee node bootstrapping as well ;-) Having 900 lines function does not seem to me like the best
PRs for improving the bootstrapper are welcome @AuHau. Also, I don't think the two are comparable in complexity. I'm sure you can understand how the bootstrapper works.
The idea here is that the research team could provide a written documentation about the components and their interaction and from that a proposal can be created.
It has too much nesting and its not even remotely possible to understand what's going on without wasting hours at a time.
Another big problem we saw is that the logging is confusing. e.g. we always log when a request is issued, but not always when we have an error. This led is to believe there's a problem with the protocol logic and we spend an hour just to see that the result is not always logged, however, looking at the logs we could see duplicate lines of requests, that suggested that there's a problem.