aboutsummaryrefslogtreecommitdiffstats
path: root/consensus/dexcon
Commit message (Collapse)AuthorAgeFilesLines
* core: rebase dev and fix lintJhih-Ming Huang2019-05-061-2/+2
|
* core: vm: refactor file structurejm2019-05-062-2/+2
| | | | | For support other vm types, this pr modified the core/vm file structures.
* consensus: dexcon: set correct tx fee receiverWei-Ning Huang2019-04-101-1/+1
|
* dexcon: correctly fine DKGSet for not producing blocks (#325)Wei-Ning Huang2019-04-092-23/+26
|
* vendor: sync to latest core (#320)Jimmy Hu2019-04-091-9/+1
| | | | | | | | * vendor: sync to latest core * dex, core: fix conflict x
* core: fix finalize logic (#302)Jimmy Hu2019-04-091-2/+4
|
* core: set extended round block reward to zero (#298)Wei-Ning Huang2019-04-092-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 Huang2019-04-092-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 governanceWei-Ning Huang2019-04-093-9/+15
|
* core: Remove K, Phi and NumChains from Governance (#198)Jimmy Hu2019-04-092-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 Huang2019-04-091-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 ↵Sonic2019-04-091-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)bojie2019-04-091-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 Huang2019-04-093-41/+159
|
* core: fix blockReward serializationWei-Ning Huang2019-04-091-1/+1
|
* app: add cache mechanism to increase performanceBojie Wu2019-04-091-0/+2
|
* dex: remove uneeded info from block headerWei-Ning Huang2019-04-091-1/+1
|
* consensus: dexcon: fetch config from stateWei-Ning Huang2019-04-091-10/+14
|
* params: load blockReward from genesis JSON fileWei-Ning Huang2019-04-091-2/+1
|
* app: implement new insert blocks logicBojie Wu2019-04-091-1/+2
|
* dex/core: misc bug fixesWei-Ning Huang2019-04-091-3/+10
|
* app: add default block rewardBojie Wu2019-04-091-1/+1
|
* app: calculate block reward according to chain numBojie Wu2019-04-091-3/+2
|
* dex: implement dexon application interfaceBojie Wu2019-04-091-1/+6
|
* Change import go github.com/dexon-foundation/dexonWei-Ning Huang2019-04-091-6/+6
|
* Use dex.Config instead of eth.ConfigWei-Ning Huang2019-04-091-0/+4
|
* Add initial DEXON consensus engine implementation skeletonWei-Ning Huang2019-04-092-0/+159