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 233ba8f42c update travis go build ./... 7 years ago
aws-code updated aws-code 7 years ago
aws-scripts HOME variable is different on AWS Linux setup 7 years ago
blockchain Modify utxo update code to support cross tx unlock-to-abort 7 years ago
client Put crossShard tx proofs directly inside Transaction object 7 years ago
common Add client directory for client related codes; refactor message protocol files 7 years ago
consensus Add client directory for client related codes; refactor message protocol files 7 years ago
log removed go-stack temporarily 7 years ago
node Add unlock to commit for cross shard tx 7 years ago
p2p polish code 7 years ago
stack removed go-stack temporarily 7 years ago
utils bundle block blockchain transaction into blockchain packagge. add tests for utils 7 years ago
.gitignore updated aws-code 7 years ago
.travis.gofmt.sh update .travis.gofmt.sh 7 years ago
.travis.yml update travis go build ./... 7 years ago
README.md fix fmt, and add test_before_submit script 7 years ago
appspec.yml relative paths are getting messed up so situation script within scripts folder 7 years ago
benchmark_main.go removing log file check 7 years ago
deploy.sh updated aws-code 7 years ago
deploy_linux.sh Add shardId into consensus and rename ipList file into config file 7 years ago
deploy_one_instance.sh removing log file check 7 years ago
global_nodes.txt two shards 5 nodes each 7 years ago
kill_node.sh updated aws-code 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_config3.txt Fine tune consensus throughput locally: one shard / 300 nodes / 800 tps 7 years ago
local_config_shards.txt Add node server for tx generator client 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
test_before_submit.sh Add cross-shard transaction locking 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

Testing

Make sure you the following command and make sure everything passed before submitting your code. ''' ./test_before_submit.sh '''