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.
 
 
 
Richard Liu 06a76b40b1 add gofmt to travis 7 years ago
aws-code Merge pull request #6 from simple-rules/runOneInstance 7 years ago
aws-scripts correcting preprocess code and setting up gostack 7 years ago
blockchain polish code by gofmt 7 years ago
common polish code by gofmt 7 years ago
consensus polish code by gofmt 7 years ago
log enable terminal color 7 years ago
node polish code by gofmt 7 years ago
p2p polish code 7 years ago
utils bundle block blockchain transaction into blockchain packagge. add tests for utils 7 years ago
.gitignore Scaled consensus to 100 nodes。 7 years ago
.travis.gofmt.sh add gofmt to travis 7 years ago
.travis.yml add gofmt to travis 7 years ago
README.md fix readme 7 years ago
appspec.yml relative paths are getting messed up so situation script within scripts folder 7 years ago
benchmark_main.go Merge pull request #7 from simple-rules/ricl-log 7 years ago
deploy.sh Add shardId into consensus and rename ipList file into config file 7 years ago
deploy_linux.sh Add shardId into consensus and rename ipList file into config file 7 years ago
deploy_one_instance.sh typos/bad code removed 7 years ago
global_nodes.txt move to merge into master 7 years ago
kill_node.sh Add transaction generater program which sends transactions to leaders periodically 7 years ago
local_config.txt Add shardId into consensus and rename ipList file into config file 7 years ago
local_config2.txt Add shardId into consensus and rename ipList file into config file 7 years ago
local_config_shards.txt Add sharding config with 2 shard; update tx generator accordingly 7 years ago
send_txn.sh add message dir; add msgCategory, msgType in messaging protocol; add node struct as the entry point for messages 7 years ago
sysctl.sh Fill in consensus message structure and send realistic consensus message instead of dummy string 7 years ago

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 github.com/go-stack/stack

Usage


./deploy.sh local_config.txt

./send_txn.sh