The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Rongjian Lan c519f495ca Refactor constructResponseMessage to support final response 6 years ago
attack update for github.com folder structure 6 years ago
aws-experiment-launch update configr. 6 years ago
aws-scripts
azure
blockchain Merge pull request #56 from simple-rules/peerDiscovery 6 years ago
client merge conflict. 6 years ago
configr merge conflict. 6 years ago
consensus Refactor constructResponseMessage to support final response 6 years ago
crypto Add transaction signature; Add signing process; Integrate with Consensus and Verification process 6 years ago
db remove unnecessary func 6 years ago
identitychain building identity chain 6 years ago
log
node Fix some mismatch between addresses for benchmark 6 years ago
p2p update for github.com folder structure 6 years ago
profiler remove profile logic from soldier; benchmark starts profiler. 6 years ago
proto Add state and consensus message type for commit phase of Cosi 6 years ago
utils remove the dependencies between benchmark.go and configr 6 years ago
waitnode writing new tests, unblocking for now 6 years ago
.gitignore
.travis.gofmt.sh
.travis.yml add install go get gopkg.in/check.v1 in travis 6 years ago
README.md
appspec.yml
benchmark.go remove the dependencies between benchmark.go and configr 6 years ago
deploy.sh add usage function in the deploy.sh script 6 years ago
deploy_btctx.sh
deploy_linux.sh
global_nodes.txt
go_executable_build.sh
kill_node.sh remove profile logic from soldier; benchmark starts profiler. 6 years ago
lint_before_submit.sh
local_config.txt
local_config2.txt
local_config3.txt
local_config_shards.txt
run_commander.sh
run_experiment.sh remove profile logic from soldier; benchmark starts profiler. 6 years ago
send_txn.sh
sysctl.sh
test_before_submit.sh

README.md

Harmony Benchmark

Build Status

Golang Coding Convention

  • Follow effective_go
  • Constant enum should follow CamelCase.
  • Comments of each element in a struct is written right after the element.

Dev Environment Setup

export GOPATH=$HOME/<path_of_your_choice>

mkdir -p $HOME/<path_of_your_choice>/src

cd $HOME/<path_of_your_choice>/src

git clone git@github.com:simple-rules/harmony-benchmark.git

cd harmony-benchmark

go get ./...

Usage

./deploy.sh local_config.txt

Testing

Make sure you the following command and make sure everything passed before submitting your code.

./test_before_submit.sh

Linting

Make sure you the following command and make sure everything passes golint.

./lint_before_submit.sh