-
Notifications
You must be signed in to change notification settings - Fork 118
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
Alternative to tx message action fields #285
Comments
This strikes me as a slight improvement which would be extremely painful On Fri, Oct 31, 2014 at 1:58 PM, Marv Schneider [email protected]
|
It would provide a way to eliminate fields that don't apply to the particular action, as well as isolate message changes associated with one action. I hadn't thought about making the spec look better. |
I support this idea and imho it's not too late nor painful, time-consuming or costly. Of course this can only be applied for not-yet-on-mainnet-transactions for now. At the moment tx 20 and 22 are in use - for coin/token transactions. Token/token transactions could move into the 10, 30, 40, 60, 70, 80 ... range and this would be consistent with the rest of the spec, because every "class" has it's own range. And also +1 for removing action fields whenever possible - 4 byte for [version] and [type] provide an abundant amount of potential slots that are very likely never going to be filled completely. |
Rather than numbering txtypes consecutively, we could use increments of ten, or some other value. This would allow related actions to be numbered within the gaps, e.g:
The text was updated successfully, but these errors were encountered: