Skip to content
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

Message model #4

Open
wanderer opened this issue Apr 6, 2017 · 1 comment
Open

Message model #4

wanderer opened this issue Apr 6, 2017 · 1 comment

Comments

@wanderer
Copy link
Member

wanderer commented Apr 6, 2017

What should the minimal message model look like?
Currently in the prototype a non-atomic message consists of a payload, resources, hops, origin. And an atomic message has the addition of a commit lock and a response port.

I was wondering if it worth the effort to try to make the base non-atomic message simpler, but I don't currently see away to remove anything. Resources contain some unit of "gas" and since all action need to have gas allocate be for they are executed the kernel must explicitly know about it. hops aren't really usefully in current Ethereum, but if messages could be forwarded then they would become useful. Since message payloads would be immutable the only thing that would be mutable on a message is the hops count. This then could be used by forwarding contracts to figure out where to send the message

@wanderer
Copy link
Member Author

wanderer commented May 9, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant