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.
 
 
 
ak 1da4bd06ea working pow 2 6 years ago
attack update for github.com folder structure 6 years ago
blockchain Update utxo with state block; refactor utxo counter func 6 years ago
client Merge 6 years ago
consensus change ReadySignal into a good practice 6 years ago
crypto Add wallet transfer functionality; Add transaction serialization; Refactor wallet utitlity and reuse wallet server; Bytes util; utxoPool crossShard check 6 years ago
db fix db test 6 years ago
identitychain working pow 6 years ago
log use vendor 6 years ago
node Merge branch 'master' of github.com:simple-rules/harmony-benchmark into idc 6 years ago
p2p add logic for waiting for syncing finish 6 years ago
pow WIP commit 6 years ago
profiler update profiler to be singleton; add metricsReportURL argument. 6 years ago
proto merging conflicts 6 years ago
runid saving work 6 years ago
runwait working pow 2 6 years ago
utils fix null pointer segfault on soldier when config file is empty 6 years ago
waitnode working pow 6 years ago
.gitignore Add import private key and check balance functionalities to wallet 6 years ago
.travis.gofmt.sh update .travis.gofmt.sh 7 years ago
.travis.yml try to fix travis-ci 6 years ago
README.md update readme 6 years ago
appspec.yml update aws scripts. 6 years ago
benchmark.go add -version support to benchmark/txgen 6 years ago
deploy.sh merged profiler back. 6 years ago
deploy_btctx.sh update btctxgen 6 years ago
deploy_linux.sh move exe to /bin. 7 years ago
go_executable_build.sh fix a typo in go_executable_build.sh 6 years ago
kill_node.sh add back kill_node.sh 6 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
run_experiment.sh remove reference of profiler binary as it was removed already 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

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