-
Notifications
You must be signed in to change notification settings - Fork 25
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
State protocol for smart contracts #2
Comments
I kind of like the idea of structured data definitions ( The trick is going to be with signatures. If you change the order of the properties being sent -- for example: switching the order of the |
Right now I have the following .proto file:
"smart_contract_uri" is a link (https?) to a trusted resource (e.g. gist) |
@hynese switch to proto3...no more Should look more like:
Although we should probably talk through the content of that message. Maybe more like:
... maybe we should talk through the approach too.
|
Ken, slight correction if I may, I understand that everything is |
I think I'm saying it wrong, if a property is defined in a message, it is passed as part of the serialization regardless of if you give it content. |
Agree we should use best practice and up-to-date version of protobuf. Think about some sort of protocol? |
Regarding state protocol, I wonder should we use serialized
POJO
s orprotobuf
s?What should the state be?
At the moment, I'm working of a plain old array of strings. Maybe we need something else?
The text was updated successfully, but these errors were encountered: