Closed gratefulcheddar closed 1 year ago
I personally never got into UML but it certainly couldn't hurt. Parts of gominer are probably documented fairly well but I know some parts are very light.
I always liked the idea of gominer as an example cc miner so more docs might be good from that front.
More comments would be good. Another thing would be to clean up the magic numbers where the block header is copied/modified. For example add constants for NONCE_BEGIN NONCE_END and replace the numbers with those constants.
I was thinking about walking through the entire gominer code and adding comments where needed and possibly creating some UML documentation (sequence diagrams?). Does anyone else think it would be worthwhile?