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 1924a34377 cleaning up 6 years ago
attack fix the build after rename the repo to harmony-one 6 years ago
beaconchain polish code in the right style 6 years ago
blockchain fix test issues 6 years ago
client use struct{} which is size 0, good practice for many go programmers 6 years ago
consensus abstract out 2 versions of p2p 6 years ago
core get rid of debug messages 6 years ago
crypto HAR-84: fix golint warnings in crytpo, p2p 6 years ago
db fix the build after rename the repo to harmony-one 6 years ago
discovery refactor idc to bc (beacon chain) 6 years ago
harmony Implement valid selection for account model txs 6 years ago
log submit check - tested in a PR and it worked 6 years ago
newnode refactor idc to bc (beacon chain) 6 years ago
node cleaning up 6 years ago
p2p fix p2p error related to beacon chain (#142) 6 years ago
profiler fix golint 6 years ago
proto Add Role field to Ping message 6 years ago
services move syncing under services 6 years ago
trie clean up code 6 years ago
utils polish code in the right style 6 years ago
.gitignore ignore local logs 6 years ago
.travis.gofmt.sh submit check - tested in a PR and it worked 6 years ago
.travis.yml add submit check 6 years ago
README.md fix the build after rename the repo to harmony-one 6 years ago
appspec.yml update aws scripts. 6 years ago
benchmark.go refactor idc to bc (beacon chain) 6 years ago
deploy.sh HAR-65: enable peer discovery by default in deploy.sh 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 build for beacon 6 years ago
kill_node.sh support beacon chain in local test 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_config1.txt support beacon chain in local test 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_config5.txt change logic of syncing 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 a build step in test_before_submit.sh 6 years ago
transactions.rlp Make account-based block verified in consensus 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:harmony-one/harmony.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