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 d9ff51d534 Remove some legacy lines and fix some comments for consensus and blocks 6 years ago
aws-code Move tx generator client out of aws-code into client folder 6 years ago
aws-scripts HOME variable is different on AWS Linux setup 6 years ago
blockchain Remove some legacy lines and fix some comments for consensus and blocks 6 years ago
client move exe to /bin. 6 years ago
common Add client directory for client related codes; refactor message protocol files 6 years ago
consensus Remove some legacy lines and fix some comments for consensus and blocks 6 years ago
log removed go-stack temporarily 6 years ago
node Remove some legacy lines and fix some comments for consensus and blocks 6 years ago
p2p replace block hash by transaction hash 6 years ago
stack removed go-stack temporarily 6 years ago
utils replace block hash by transaction hash 6 years ago
.gitignore move exe to /bin. 6 years ago
.travis.gofmt.sh update .travis.gofmt.sh 6 years ago
.travis.yml update travis go build ./... 6 years ago
README.md add todo and add golint script 6 years ago
appspec.yml relative paths are getting messed up so situation script within scripts folder 6 years ago
benchmark.go move exe to /bin. 6 years ago
deploy.sh move exe to /bin. 6 years ago
deploy_linux.sh move exe to /bin. 6 years ago
deploy_one_instance.sh move exe to /bin. 6 years ago
global_nodes.txt two shards 5 nodes each 6 years ago
kill_node.sh Fix kill_node.sh after the recent change 6 years ago
lint_before_submit.sh add todo and add golint script 6 years ago
local_config.txt Add block sync function for leader to send new blocks to client 6 years ago
local_config2.txt Fix cross shard tx bug; add utxo pool sync for client to keep up with the leaders 6 years ago
local_config3.txt Add block sync function for leader to send new blocks to client 6 years ago
local_config_shards.txt Add node server for tx generator client 6 years ago
send_txn.sh add message dir; add msgCategory, msgType in messaging protocol; add node struct as the entry point for messages 6 years ago
sysctl.sh Fill in consensus message structure and send realistic consensus message instead of dummy string 6 years ago
test_before_submit.sh Add cross-shard transaction locking 6 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 '''

Linting

Make sure you the following command and make sure everything passes golint. ''' ./lint_before_submit.sh '''