Skip to content

Commit

Permalink
update requirements - plyvel and cbor; update proto
Browse files Browse the repository at this point in the history
  • Loading branch information
arcolife committed Jul 6, 2018
1 parent da1d917 commit 5d78eda
Show file tree
Hide file tree
Showing 5 changed files with 180 additions and 40 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ __Recommended__: Use a python3 virtual environment
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
# additional step for OSX
$ brew install leveldb
```

##### Install Google's Protobuf
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
astroid==1.6.5
bitcoin==1.1.42
cbor==1.0.0
docopt==0.6.2
ecdsa==0.13
googleapis-common-protos==1.5.3
Expand All @@ -8,6 +9,7 @@ grpcio-tools==1.12.1
isort==4.3.4
lazy-object-proxy==1.3.1
mccabe==0.6.1
plyvel==1.0.4
protobuf==3.5.2.post1
pycrypto==2.6.1
pykwalify==1.6.1
Expand Down
4 changes: 2 additions & 2 deletions trueconsensus/proto/request.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ service FastChain {
}

service SerializerTest {
rpc TestHash(Block) returns (Hash) {}
rpc TestHash(TruePbftBlock) returns (Hash) {}
}

// Hash result
message Hash {
bytes hash = 1;
Block block = 2;
TruePbftBlock block = 2;
}

// //Interface exposed by client
Expand Down
169 changes: 131 additions & 38 deletions trueconsensus/proto/request_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5d78eda

Please sign in to comment.