You are viewing a single comment's thread from:

RE: Gridcoin users: check your block hashes -> we just lost 36% net weight in 1h

in #gridcoin7 years ago

The wallet will automatically reorganize on the stronger chain after just two blocks if it knows about it and no bad block is found there. But due to way the block Accept code is bugged, blocks received from other (right) chain are often dropped.

Sort:  

That makes a lot of sense. Is this patched in the latest leisure build?

No, unfortunately it is not. It is very hard to do, given the state of the code-base.

If it interests you or any other dev, I think all of us who have looked at the code base would be more than happy to see you bill hours to clean it up further. Even just sensible variable names would make a world of difference.

Agreed. I already started a work on the rewrite and cleanup on separate branch, but it is a very much work in progress. And I don't think I can continue with my school work load, ppl can join :)