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.
Leo Chen
69e5c0a4e8
|
6 years ago | |
---|---|---|
attack | 6 years ago | |
beaconchain | 6 years ago | |
blockchain | 6 years ago | |
client | 6 years ago | |
consensus | 6 years ago | |
core | 6 years ago | |
crypto | 6 years ago | |
db | 6 years ago | |
discovery | 6 years ago | |
harmony | 6 years ago | |
log | 6 years ago | |
newnode | 6 years ago | |
node | 6 years ago | |
p2p | 6 years ago | |
p2pv2 | 6 years ago | |
profiler | 6 years ago | |
proto | 6 years ago | |
runbeacon | 6 years ago | |
syncing | 6 years ago | |
trie | 6 years ago | |
utils | 6 years ago | |
.gitignore | 6 years ago | |
.travis.gofmt.sh | 6 years ago | |
.travis.yml | 6 years ago | |
README.md | 6 years ago | |
appspec.yml | 6 years ago | |
benchmark.go | 6 years ago | |
deploy.sh | 6 years ago | |
deploy_btctx.sh | 6 years ago | |
deploy_linux.sh | 6 years ago | |
go_executable_build.sh | 6 years ago | |
kill_node.sh | 6 years ago | |
lint_before_submit.sh | 6 years ago | |
local_config.txt | 6 years ago | |
local_config1.txt | 6 years ago | |
local_config2.txt | 6 years ago | |
local_config3.txt | 6 years ago | |
local_config4.txt | 6 years ago | |
local_config5.txt | 6 years ago | |
local_config_8shards.txt | 6 years ago | |
local_config_shards.txt | 6 years ago | |
run_commander.sh | 6 years ago | |
run_experiment.sh | 6 years ago | |
send_txn.sh | 6 years ago | |
sysctl.sh | 6 years ago | |
test_before_submit.sh | 6 years ago | |
transactions.rlp | 6 years ago |
README.md
Harmony Benchmark
Coding Guidelines
- In general, we should follow effective_go
- Code must adhere to the official Go formatting guidelines (i.e. uses gofmt).
- Code must be documented adhering to the official Go commentary guidelines.
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:harmony-one/harmony.git
cd harmony-benchmark
go get ./...
Usage
Running local test without db
./deploy.sh local_config.txt
Running local test with db
./deploy.sh local_config.txt 1
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