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.
Minh Doan
12dc6d715d
|
6 years ago | |
---|---|---|
attack | 7 years ago | |
aws-experiment-launch | 6 years ago | |
aws-scripts | 6 years ago | |
blockchain | 7 years ago | |
client | 7 years ago | |
common | 7 years ago | |
consensus | 6 years ago | |
log | 7 years ago | |
node | 7 years ago | |
p2p | 7 years ago | |
stack | 7 years ago | |
utils | 7 years ago | |
.gitignore | 7 years ago | |
.travis.gofmt.sh | 7 years ago | |
.travis.yml | 7 years ago | |
README.md | 7 years ago | |
appspec.yml | 7 years ago | |
benchmark.go | 7 years ago | |
deploy.sh | 7 years ago | |
deploy_linux.sh | 7 years ago | |
global_nodes.txt | 7 years ago | |
kill_node.sh | 7 years ago | |
lint_before_submit.sh | 7 years ago | |
local_config.txt | 7 years ago | |
local_config2.txt | 7 years ago | |
local_config3.txt | 7 years ago | |
local_config_shards.txt | 7 years ago | |
run_commander.sh | 6 years ago | |
send_txn.sh | 7 years ago | |
sysctl.sh | 7 years ago | |
test_before_submit.sh | 7 years ago |
README.md
Harmony Benchmark
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 github.com/go-stack/stack
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 '''