-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current code review #653
Comments
How about combining the different versions from Ethereum like Homestead, Byzantium, Istanbul and Berlin into our own version? |
combine them as a single one ? |
The Quota and QuotaUsed in Header are type big.Int now, why not use type uint64 as the GasLimit and GasUsed? Which can save space and time I think. |
Yeah, maybe give a name like Flush or something else. I think there is no blocks following the old rules in our chain, right? |
Yes, Ethereum is also doing something like this, use uint64 instead of big.int somewhere. It can improve some performance. You can take a look at it |
It's a good idea, we can think about the future version names, but for the passed version, in my opinion, I prefer to leave them as a history between us and Ethereum :) |
Ok, I'll create a new PR for this. |
#654 Switch quota to uint64 |
It seems that we could add gofmt function into Actions to prevent unformatted code. |
I tried to add lint here https://github.com/CortexFoundation/torrentfs/blob/master/.github/workflows/go.yml#L32-L33 but it seems a little strict for pass. |
Stale issue message |
Review code by package, good to point out some questions
btw, https://github.com/CortexFoundation/torrentfs
The text was updated successfully, but these errors were encountered: