dominant-strategies / go-quai

Official Go Implementation of the Quai Network
GNU General Public License v3.0
2.36k stars 456 forks source link

Moved worker functions to be in order of execution in GeneratePendingHeader #1832

Open jdowning100 opened 1 month ago

jdowning100 commented 1 month ago

I don't like the order of the functions in worker.go. Call me OCD but to me it looks likely functions are randomly spread throughout the file, making it difficult to read. I have ordered the functions called in GeneratePendingHeader in order of execution and (subjective) importance.