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 b91f23c696 Reuse Dedis lab's kyber library for schnorr multi-sig 6 years ago
attack make sure attack_enabled default to false so that tnx client wont get attacked. also add more attack in validator 6 years ago
aws-experiment-launch rename configr 6 years ago
aws-scripts instance creation wip new setup 6 years ago
azure azure 1 vm create 6 years ago
blockchain remove snapshot and replace by GetSizeInByteOfUtxoMap 6 years ago
client Fix import issue of btctxgen.go after my refactor on proto/ 6 years ago
configr get client port into configr 6 years ago
consensus Fix consensus_test.go 6 years ago
crypto Reuse Dedis lab's kyber library for schnorr multi-sig 6 years ago
log use vendor 6 years ago
node Fix bad code from last refactoring 6 years ago
p2p Refactor node/message.go to proto/node.go, p2p/message.go to p2p.message_reader.go 6 years ago
proto Fix bad code from last refactoring 6 years ago
utils Pull logging util func into utils/metrics.go; add more comments for consensus 6 years ago
.gitignore add test for distribution ip 6 years ago
.travis.gofmt.sh update .travis.gofmt.sh 7 years ago
.travis.yml updated .travis.yml 6 years ago
README.md Update README.md 6 years ago
appspec.yml update aws scripts. 6 years ago
benchmark.go rename configr 6 years ago
deploy.sh move exe to /bin. 7 years ago
deploy_linux.sh move exe to /bin. 7 years ago
global_nodes.txt two shards 5 nodes each 7 years ago
go_executable_build.sh update kill_node.sh into s3 6 years ago
kill_node.sh fix kill_node.sh script and improve logic of peer.go 7 years ago
lint_before_submit.sh add todo and add golint script 7 years ago
local_config.txt Add block sync function for leader to send new blocks to client 7 years ago
local_config2.txt Fix cross shard tx bug; add utxo pool sync for client to keep up with the leaders 7 years ago
local_config3.txt Add block sync function for leader to send new blocks to client 7 years ago
local_config_shards.txt Add node server for tx generator client 7 years ago
run_commander.sh enable execution mode 6 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 ./...

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