This repository has been archived by the owner on Jan 22, 2020. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello,
after following the lesson, I realized I wasn't so confident I could understand the application so I decided to kill 2 birds with one stone. Learn go, and ensure I understood what was happening with the Sawtooth example. And now that I have the example working, I believed it could be nice for people allergic to NodeJS to have a counterpart in a different language.
As of yet the features are working, if you have any recommendations to make the code cleaner, I'll be happy to implement them.
By the way, I had to commit the sawtooth_sdk as right now there is no
go get
that will easily retrieve the sdk (as opposed to fabric for instance) because some libraries needed by the sdk are not present and must be generated by cloning their repo (cf JIRA-STL-238)Basically the equivalent of
processor/index.js
issrc/processor/main.go
andprocessor/handler.js
issrc/handler/handler.go
. The rest is the sawtooth_sdk compiledSigned-off-by: asettouf [email protected]