This repository was archived by the owner on Jan 22, 2020. It is now read-only.
Commit 5c52ec1
authored
Update to Hyperledger Sawtooth 1.0 (#37)
* Update Sawtooth TunaChain demo app to 1.0 (#30)
* Replace JS TP with Python TP
This commit replaces the existing TunaChain TP written in Javascript
with one that is written in Python. This was done for several reasons:
- The Javascript TP API is not supported by the core team
- Python's concise and easy to read syntax will make the example
code legible to people who aren't engineers
- Using a different language for the TP and Client shows off the
flexibility of Sawtooth as a platform
* Update TunaChain client to use 1.0 API
Several API changes happened between 0.8 and 1.0. This commit updates
the client to use the current Sawtooth APIs.
* Enable TunaChain specific docker-compose deployment
This commit creates a new Docker-Compose file which can be used to
build and start up the necessary componants to run TunaChain. Users of
the hyperledger training course will no longer have to run npm commands
locally to start up the components, which will allow us to streamline
the course and focus on interesting Sawtooth examples.
The sawtooth-default.yaml file will remain for use in previous examples
but it will not be used to interact with the TunaChain demo.
Signed-off-by: Darian Plumb <[email protected]>
* Update sawtooth-default.yaml to 1.0 (#32)
This updates the docker images pulled by the sawtooth-default
docker-compose file to 1.0, and makes the necessary updates to
the command scripts and ports of some containers
Signed-off-by: Darian Plumb <[email protected]>
* Wait until batch is committed before refresh (#36)
The TunaChain webapp automatically refreshes when a transaction is
submitted. This is only useful if it waits until the new data is
committed to state before the refresh happens. This commit ensures that
the batch is committed before refreshing, with respect to the 1.0
Sawtooth REST API.
Signed-off-by: Darian Plumb <[email protected]>
* Added proxy support for docker-compose and Dockerfiles (#35)
* Add proxies in build.args in docker-compose
* Add proxy settings in shell Dockerfile
Signed-off-by: Ashish Kumar Mishra <[email protected]>1 parent 45e1a24 commit 5c52ec1
File tree
18 files changed
+1250
-238
lines changed- LFS171x/sawtooth-material
- sawtooth-tuna
- bin
- client
- src
- processor
- tunachain_processor
- shell
18 files changed
+1250
-238
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | 23 | | |
26 | 24 | | |
27 | | - | |
| 25 | + | |
28 | 26 | | |
29 | 27 | | |
30 | | - | |
| 28 | + | |
31 | 29 | | |
32 | | - | |
33 | | - | |
34 | 30 | | |
35 | 31 | | |
36 | | - | |
| 32 | + | |
37 | 33 | | |
38 | 34 | | |
39 | | - | |
| 35 | + | |
40 | 36 | | |
41 | | - | |
42 | | - | |
43 | 37 | | |
44 | 38 | | |
45 | | - | |
| 39 | + | |
46 | 40 | | |
47 | 41 | | |
48 | | - | |
| 42 | + | |
49 | 43 | | |
50 | 44 | | |
51 | 45 | | |
52 | 46 | | |
53 | 47 | | |
54 | 48 | | |
55 | 49 | | |
56 | | - | |
| 50 | + | |
57 | 51 | | |
58 | | - | |
59 | | - | |
| 52 | + | |
| 53 | + | |
60 | 54 | | |
61 | 55 | | |
62 | 56 | | |
63 | 57 | | |
64 | 58 | | |
65 | 59 | | |
66 | 60 | | |
67 | | - | |
| 61 | + | |
68 | 62 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 63 | | |
73 | | - | |
| 64 | + | |
74 | 65 | | |
75 | 66 | | |
76 | | - | |
| 67 | + | |
77 | 68 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
84 | 72 | | |
85 | 73 | | |
86 | 74 | | |
| |||
0 commit comments