Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core: vm: make fail stop fine value configurable (#312) | Wei-Ning Huang | 2019-06-15 | 1 | -3/+5 |
| | | | | A node is now quailified only if it has no pending fine and staked >= minstake. | ||||
* | core: vm: fix DKG reset (#296) | Wei-Ning Huang | 2019-06-13 | 1 | -1/+1 |
| | |||||
* | core: vm: automatically calculate notary set size (#276) | Wei-Ning Huang | 2019-06-13 | 1 | -2/+2 |
| | |||||
* | dex: implement recovery mechanism (#258) | Wei-Ning Huang | 2019-06-12 | 2 | -9/+20 |
| | | | | | | | | | * dex: implement recovery mechanism The DEXON recovery protocol allows us to use the Ethereum blockchain as a fallback consensus chain to coordinate recovery. * fix | ||||
* | test: update test parameters (#229) | Wei-Ning Huang | 2019-06-12 | 3 | -19/+21 |
| | | | | | | * test: update test parameters * update smoke test parameter | ||||
* | test: build bootnode if not exist | Wei-Ning Huang | 2019-06-12 | 1 | -3/+10 |
| | |||||
* | core: Fixed gas price (#205) | Jimmy Hu | 2019-06-12 | 1 | -1/+2 |
| | | | | | | | | | | * core/vm: update abi * core/vm: add MinGasPrice to gov * params: Add MinGasPrice to Config * dex: SuggestPrice from Governance * test: add minGasPrice to genesis.json * core: check underpriced tx * dex: verify with gas price | ||||
* | core: Remove K, Phi and NumChains from Governance (#198) | Jimmy Hu | 2019-06-12 | 2 | -5/+2 |
| | | | | | | * change default sync_core.sh * vendor: sync to latest core * core: Remove K, Phi and NumChain | ||||
* | core: vm: refactor governance and add node info oracle (#174) | Wei-Ning Huang | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | travis: add new CI test to test fullnode (#138) | bojie | 2019-06-12 | 2 | -4/+6 |
| | |||||
* | test: update dmoment with python script (#153) | Wei-Ning Huang | 2019-06-12 | 1 | -2/+11 |
| | |||||
* | params: write dMoment into ChainConfig (#150) | Wei-Ning Huang | 2019-06-12 | 2 | -2/+2 |
| | |||||
* | test: Update bootnode path | Jimmy Hu | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | consensus: implement DEXON cryptoeconomics v4.0 (#145) | Wei-Ning Huang | 2019-06-12 | 3 | -30/+20 |
| | |||||
* | core: vm: implement byzantine reporting mechanism (#128) | Wei-Ning Huang | 2019-06-12 | 1 | -3/+9 |
| | |||||
* | test: update run_test.sh with dmoment | Jimmy Hu | 2019-06-12 | 1 | -0/+4 |
| | |||||
* | test: improve keygen.go (#62) | Wei-Ning Huang | 2019-06-12 | 9 | -13/+67 |
| | |||||
* | test: add local bootnode (#53) | Jimmy Hu | 2019-06-12 | 1 | -0/+6 |
| | | | | | | * test: add local bootnode * Update run_test.sh | ||||
* | core: add Taipei testnet (#47) | Wei-Ning Huang | 2019-06-12 | 1 | -5/+9 |
| | | | | Add a new testnet named Taipei. | ||||
* | core: various changes on tps tuning (#46) | Wei-Ning Huang | 2019-06-12 | 1 | -2/+2 |
| | |||||
* | test: add script to run sync node | Sonic | 2019-06-12 | 1 | -0/+24 |
| | |||||
* | test: use a fixed nodekey for RPC node (#38) | Wei-Ning Huang | 2019-06-12 | 2 | -1/+2 |
| | |||||
* | governance: implement delegate/undelegate function and add tests (#33) | Wei-Ning Huang | 2019-06-12 | 1 | -1/+1 |
| | | | | | Implement delegate/undelegate function to allow others to delegate it's fund to stake on a node. Also added governance contract tests. | ||||
* | core: more fix on light node synchronization (#32) | Wei-Ning Huang | 2019-06-12 | 1 | -1/+1 |
| | | | | | | Fix gas calculation in governance contract. Correctly register round height when processing pending blocks. We should register the mapping when we get the pending block instead of waiting for block confirmation. | ||||
* | core: vm: add minStake to governance contract variable (#31) | Wei-Ning Huang | 2019-06-12 | 1 | -8/+9 |
| | |||||
* | core: refactor validator and fix light node sync (#25) | Wei-Ning Huang | 2019-06-12 | 1 | -10/+16 |
| | | | | | | | | Remove custom Dexon validator by adding a new `ValidateWitnessData` method into the validator interface. This allow us to properly detect know blocks. This also allow other gdex "light" client to sync compaction chain. Also, setup a standalone RPC node for handling RPC reqeusts. | ||||
* | test: increase numChains to 6 | Wei-Ning Huang | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | cmd: gdex: Revert #6 (#11) | Jimmy Hu | 2019-06-12 | 1 | -0/+1 |
| | | | | | | | | * Revert "cmd: gdex: SIGUSR1 to dump stack (#6)" This reverts commit 86c985c76272667ad68c604ad09e229453d17859. * Add pprof to test | ||||
* | params: fix genesis block config and use testnet for test (#10) | Wei-Ning Huang | 2019-06-12 | 2 | -10/+15 |
| | |||||
* | core: vm: governance: add node info | Wei-Ning Huang | 2019-06-12 | 1 | -4/+28 |
| | |||||
* | test: disable standalone RPC server as BroadcastBlock currently cause forking | Wei-Ning Huang | 2019-06-12 | 1 | -8/+8 |
| | |||||
* | test: start a separate RPC node for testing block sync | Wei-Ning Huang | 2019-06-12 | 1 | -1/+26 |
| | |||||
* | test: save log to unique dir to preserve logs accross tests | Wei-Ning Huang | 2019-06-12 | 1 | -2/+5 |
| | |||||
* | test: add faucet address into genesis | Wei-Ning Huang | 2019-06-12 | 1 | -0/+4 |
| | |||||
* | Rename import due to dexon-consensus rename | Wei-Ning Huang | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | dex: minor refactor | Wei-Ning Huang | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | dex: add block gas limit into governance | Wei-Ning Huang | 2019-06-12 | 1 | -1/+2 |
| | |||||
* | test: add testkey | Wei-Ning Huang | 2019-06-12 | 1 | -0/+1 |
| | |||||
* | core: set correct balance for governance contract | Wei-Ning Huang | 2019-06-12 | 1 | -5/+0 |
| | |||||
* | test: add genesis balance | Wei-Ning Huang | 2019-06-12 | 1 | -1/+5 |
| | |||||
* | Rename geth -> gdex and fix Dockerfile | Wei-Ning Huang | 2019-06-12 | 1 | -5/+5 |
| | |||||
* | cmd: add a simple monkey tool for stress test | Wei-Ning Huang | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | test: add script for syncing consensus core | Wei-Ning Huang | 2019-06-12 | 1 | -0/+3 |
| | |||||
* | dex: fix DKG round switching | Wei-Ning Huang | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | dex: fix round switching and initialize dMoment correctly | Wei-Ning Huang | 2019-06-12 | 1 | -2/+2 |
| | |||||
* | core: populate genesisAlloc in source code with DEXON genesis data | Wei-Ning Huang | 2019-06-12 | 1 | -2/+1 |
| | |||||
* | test: update run_test.sh | Wei-Ning Huang | 2019-06-12 | 2 | -2/+8 |
| | |||||
* | test: update test configuration | Wei-Ning Huang | 2019-06-12 | 1 | -2/+2 |
| | |||||
* | core: vm: add blockReward to governance | Wei-Ning Huang | 2019-06-12 | 1 | -3/+3 |
| | |||||
* | dex: fix public key parsing due to changes in consensus core | Wei-Ning Huang | 2019-06-12 | 6 | -13/+17 |
| | |||||
* | core: set governance owner in genesis | Wei-Ning Huang | 2019-06-12 | 1 | -1/+2 |
| | |||||
* | params: load blockReward from genesis JSON file | Wei-Ning Huang | 2019-06-12 | 1 | -1/+2 |
| | |||||
* | test: create account storage for governance contract | Wei-Ning Huang | 2019-06-12 | 1 | -0/+5 |
| | |||||
* | dex/core: misc bug fixes | Wei-Ning Huang | 2019-06-12 | 2 | -2/+2 |
| | |||||
* | test: update genesis and keypairs | Wei-Ning Huang | 2019-06-12 | 11 | -33/+43 |
| | |||||
* | core: setup stake in order so genesis block is deterministic | Wei-Ning Huang | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | test: add a simple test script to launch 7 local nodes | Wei-Ning Huang | 2019-06-12 | 1 | -0/+17 |
| | |||||
* | test: fix genesis.json | Wei-Ning Huang | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | test: remove uneeded nodeky | Wei-Ning Huang | 2019-06-12 | 1 | -1/+0 |
| | |||||
* | test: add 3 more test node data | Wei-Ning Huang | 2019-06-12 | 5 | -2/+21 |
| | |||||
* | params: update bootnode info | Wei-Ning Huang | 2019-06-12 | 1 | -0/+1 |
| | |||||
* | test: update geneiss config | Wei-Ning Huang | 2019-06-12 | 1 | -4/+4 |
| | |||||
* | test: add test genesis and node keys | Wei-Ning Huang | 2019-06-12 | 5 | -0/+56 |