aboutsummaryrefslogtreecommitdiffstats
path: root/consensus/dexcon
Commit message (Collapse)AuthorAgeFilesLines
* core: add GovUtil to unify governance state related accessWei-Ning Huang2019-09-172-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 Huang2019-09-172-9/+9
| | | | gitlab.com/tangerine-network/tangerine-consensus
* Rebrand as tangerine-network/go-tangerineWei-Ning Huang2019-09-173-29/+29
|
* consensus: dexcon: set correct tx fee receiverWei-Ning Huang2019-06-151-1/+1
|
* dexcon: correctly fine DKGSet for not producing blocks (#325)Wei-Ning Huang2019-06-152-23/+26
|
* vendor: sync to latest core (#320)Jimmy Hu2019-06-151-9/+1
| | | | | | | | * vendor: sync to latest core * dex, core: fix conflict x
* core: fix finalize logic (#302)Jimmy Hu2019-06-131-2/+4
|
* core: set extended round block reward to zero (#298)Wei-Ning Huang2019-06-132-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-06-132-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-06-123-9/+15
|
* core: Remove K, Phi and NumChains from Governance (#198)Jimmy Hu2019-06-122-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-06-121-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-06-121-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-06-121-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-06-123-41/+159
|
* core: fix blockReward serializationWei-Ning Huang2019-06-121-1/+1
|
* app: add cache mechanism to increase performanceBojie Wu2019-06-121-0/+2
|
* dex: remove uneeded info from block headerWei-Ning Huang2019-06-121-1/+1
|
* consensus: dexcon: fetch config from stateWei-Ning Huang2019-06-121-10/+14
|
* params: load blockReward from genesis JSON fileWei-Ning Huang2019-06-121-2/+1
|
* app: implement new insert blocks logicBojie Wu2019-06-121-1/+2
|
* dex/core: misc bug fixesWei-Ning Huang2019-06-121-3/+10
|
* app: add default block rewardBojie Wu2019-06-121-1/+1
|
* app: calculate block reward according to chain numBojie Wu2019-06-121-3/+2
|
* dex: implement dexon application interfaceBojie Wu2019-06-121-1/+6
|
* Change import go github.com/dexon-foundation/dexonWei-Ning Huang2019-06-121-6/+6
|
* Use dex.Config instead of eth.ConfigWei-Ning Huang2019-06-121-0/+4
|
* Add initial DEXON consensus engine implementation skeletonWei-Ning Huang2019-06-122-0/+159