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 5b1d0c1d81 todo sustain node server to receive pingback 6 years ago
attack fix lint for attack package 6 years ago
beaconchain todo sustain node server to receive pingback 6 years ago
blockchain cleaning up code 6 years ago
client Merge branch 'master' into minh 6 years ago
consensus Merge pull request #75 from simple-rules/account_model 6 years ago
core Fix fmt error 6 years ago
crypto fix lint, now 138 left 6 years ago
db cleaning up code 6 years ago
harmony Fix fmt error 6 years ago
log fix logging and remove extra messages 6 years ago
node todo sustain node server to receive pingback 6 years ago
p2p todo sustain node server to receive pingback 6 years ago
profiler use json instead. 6 years ago
proto quick fix 6 years ago
rlp add rlp package 6 years ago
runid todo sustain node server to receive pingback 6 years ago
runnode todo sustain node server to receive pingback 6 years ago
syncing fix a lot of basic mistakes. See https://docs.google.com/document/d/1eIuVFnRra8Ggnj5zSTcGLn9iXGwHEdOHGC6-gHvvuGc 6 years ago
utils fix a lot of basic mistakes. See https://docs.google.com/document/d/1eIuVFnRra8Ggnj5zSTcGLn9iXGwHEdOHGC6-gHvvuGc 6 years ago
.gitignore fix coments in block.go 6 years ago
.travis.gofmt.sh update .travis.gofmt.sh 6 years ago
.travis.yml try to fix travis-ci 6 years ago
README.md add coding guildline 6 years ago
appspec.yml update aws scripts. 6 years ago
benchmark.go fix lint for attack package 6 years ago
deploy.sh change shardId to shardID, and ShardId to ShardID 6 years ago
deploy_btctx.sh change shardId to shardID, and ShardId to ShardID 6 years ago
deploy_linux.sh move exe to /bin. 6 years ago
go_executable_build.sh fix go_executable_build warning under MacOS 6 years ago
kill_node.sh add back kill_node.sh 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_config4.txt fix config file 6 years ago
local_config_8shards.txt Make txgen multi-thread and network async 6 years ago
local_config_shards.txt Add node server for tx generator client 6 years ago
run_commander.sh enable execution mode 6 years ago
run_experiment.sh change shardId to shardID, and ShardId to ShardID 6 years ago
send_txn.sh fix comments and fix ALL_CAPS lint 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

Coding Guidelines

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