aboutsummaryrefslogtreecommitdiffstats
path: root/core/governance.go
Commit message (Collapse)AuthorAgeFilesLines
* core: vm: refactor file structurejm2019-03-261-1/+1
| | | | | For support other vm types, this pr modified the core/vm file structures.
* consensus: dexcon: disqualify dead node (#280)Wei-Ning Huang2019-03-201-9/+102
| | | | | | | | | | 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: add extra checks to prevent DKG spamming (#272)Wei-Ning Huang2019-03-191-4/+4
| | | | Add two maps to check the uniqueness of DKGMasterPublicKey and DKGComplaints to prevent malicious actors from spamming it.
* core: vm: flatten governanceWei-Ning Huang2019-03-121-17/+51
|
* core: sync to latest core (#214)Jimmy Hu2019-03-121-6/+9
| | | | | * vendor: sync to latest core * fix for single chain
* core: Fixed gas price (#205)Jimmy Hu2019-03-121-0/+4
| | | | | | | | | | * 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 Hu2019-03-121-8/+6
| | | | | | * change default sync_core.sh * vendor: sync to latest core * core: Remove K, Phi and NumChain
* consensus: implement DEXON cryptoeconomics v4.0 (#145)Wei-Ning Huang2019-03-121-2/+2
|
* core: vm: Add `MPKReady` to governance (#97)Jimmy Hu2019-03-121-0/+8
| | | | | | * core/vm: Add DKGMPKReady * param: update GenesisHash * vendor: sync to latest core
* core: governance interface should return correct DKG master public keys (#85)Wei-Ning Huang2019-03-121-9/+1
|
* Fix lintWei-Ning Huang2019-03-121-2/+2
|
* core, dex, downloader: refactor governanceSonic2019-03-121-24/+60
|
* core: implement insert chain, headerchain logicSonic2019-03-121-0/+102