项目作者: ctlabvn
项目描述 :
All about hyperledger sawtooth
高级语言: Python
项目地址: git://github.com/ctlabvn/hyperledger-sawtooth.git
Build images
docker build -f sawtooth-docker/sawtooth-validator-optimized -t thanhtu/sawtooth-validator-optimized .
docker build -f sawtooth-docker/sawtooth-dev-python -t thanhtu/sawtooth-dev-python .
docker build -f sawtooth-docker/sawtooth-validator-pypy3 -t thanhtu/sawtooth-validator-pypy3 .
docker build -f sawtooth-docker/sawtooth-processor -t thanhtu/sawtooth-processor .
Start environment
cd sawtooth-test
yarn start
# start env A
yarn startA
# stop env A
yarn stopA
# start env B
yarn startB
# stop env B
yarn stopB
Run test & benchmark
docker exec -it sawtooth-validator bash
tests consensus/poet/common/tests
benchs consensus/poet/common/tests/test_sgx_structs/bench_hello.py --benchmark-json=/result/bench_secp256k1_signer.json