Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core: add GovUtil to unify governance state related access | Wei-Ning Huang | 2019-09-17 | 2 | -7/+16 |
| | | | | | Add GovUtil so we could use the same logic in everywhere that requires access to governance state, such as configuration and CRS. | ||||
* | import: switch consensus core to ↵ | Wei-Ning Huang | 2019-09-17 | 2 | -9/+9 |
| | | | | gitlab.com/tangerine-network/tangerine-consensus | ||||
* | Rebrand as tangerine-network/go-tangerine | Wei-Ning Huang | 2019-09-17 | 3 | -29/+29 |
| | |||||
* | consensus: dexcon: set correct tx fee receiver | Wei-Ning Huang | 2019-06-15 | 1 | -1/+1 |
| | |||||
* | dexcon: correctly fine DKGSet for not producing blocks (#325) | Wei-Ning Huang | 2019-06-15 | 2 | -23/+26 |
| | |||||
* | vendor: sync to latest core (#320) | Jimmy Hu | 2019-06-15 | 1 | -9/+1 |
| | | | | | | | | * vendor: sync to latest core * dex, core: fix conflict x | ||||
* | core: fix finalize logic (#302) | Jimmy Hu | 2019-06-13 | 1 | -2/+4 |
| | |||||
* | core: set extended round block reward to zero (#298) | Wei-Ning Huang | 2019-06-13 | 2 | -19/+35 |
| | | | | | To discourage DKG set from prolonging the round indefinitely, we set the block reward of the extended round to 0. The gas fee is send to the DEXON governance owner for safe keeping and later used by the foundation. | ||||
* | consensus: dexcon: disqualify dead node (#280) | Wei-Ning Huang | 2019-06-13 | 2 | -6/+46 |
| | | | | | | | | | | Since a qualified node might fail stopped, we need to remove them from qualified nodes to maintain network integrity. We do this by inspect the previous round to see if there are dead nodes. A dead node is a notary set node that does not propose any block in the previous round. We disqualify them by fining them so their staked value is 1 wei below minStake. This make them unqualified for being notary set in the follow on rounds. | ||||
* | core: vm: flatten governance | Wei-Ning Huang | 2019-06-12 | 3 | -9/+15 |
| | |||||
* | core: Remove K, Phi and NumChains from Governance (#198) | Jimmy Hu | 2019-06-12 | 2 | -27/+11 |
| | | | | | | * change default sync_core.sh * vendor: sync to latest core * core: Remove K, Phi and NumChain | ||||
* | consensus: dexcon: snapshot round height when finalizing block (#170) | Wei-Ning Huang | 2019-06-12 | 1 | -1/+8 |
| | | | | Instead of having BP to send a tx to register the round height, just modify the state when finalizing block. | ||||
* | core, dex/downloader: polish headers verification and blocks insertion logic ↵ | Sonic | 2019-06-12 | 1 | -0/+300 |
| | | | | | | | | (#168) Refactor GenerateDexonChain function, move governance tx logic to the user of GenerateDexonChain (testchain_test.go) and move fake node set code to FakeDexcon. | ||||
* | app: fix reward bug with empty block (#155) | bojie | 2019-06-12 | 1 | -9/+13 |
| | | | | | | | | * app: fix reward bug with empty block * make block generation consistent * revert change to dmoment in genesis.json | ||||
* | consensus: implement DEXON cryptoeconomics v4.0 (#145) | Wei-Ning Huang | 2019-06-12 | 3 | -41/+159 |
| | |||||
* | core: fix blockReward serialization | Wei-Ning Huang | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | app: add cache mechanism to increase performance | Bojie Wu | 2019-06-12 | 1 | -0/+2 |
| | |||||
* | dex: remove uneeded info from block header | Wei-Ning Huang | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | consensus: dexcon: fetch config from state | Wei-Ning Huang | 2019-06-12 | 1 | -10/+14 |
| | |||||
* | params: load blockReward from genesis JSON file | Wei-Ning Huang | 2019-06-12 | 1 | -2/+1 |
| | |||||
* | app: implement new insert blocks logic | Bojie Wu | 2019-06-12 | 1 | -1/+2 |
| | |||||
* | dex/core: misc bug fixes | Wei-Ning Huang | 2019-06-12 | 1 | -3/+10 |
| | |||||
* | app: add default block reward | Bojie Wu | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | app: calculate block reward according to chain num | Bojie Wu | 2019-06-12 | 1 | -3/+2 |
| | |||||
* | dex: implement dexon application interface | Bojie Wu | 2019-06-12 | 1 | -1/+6 |
| | |||||
* | Change import go github.com/dexon-foundation/dexon | Wei-Ning Huang | 2019-06-12 | 1 | -6/+6 |
| | |||||
* | Use dex.Config instead of eth.Config | Wei-Ning Huang | 2019-06-12 | 1 | -0/+4 |
| | |||||
* | Add initial DEXON consensus engine implementation skeleton | Wei-Ning Huang | 2019-06-12 | 2 | -0/+159 |