aboutsummaryrefslogtreecommitdiffstats
path: root/core/governance.go
Commit message (Collapse)AuthorAgeFilesLines
* Rebrand as tangerine-network/go-tangerineWei-Ning Huang2019-09-171-12/+12
|
* core: implement DKG success (#362)Jimmy Hu2019-06-151-0/+9
| | | | | | | | * vendor: sync to latest core * core: implmenet dkg success * cmd: govtool: add DKGSuccess
* core: add cache for DKG MPK and complaint (#334)Wei-Ning Huang2019-06-151-16/+69
| | | | | Since deserializing DKG related items are extremely slow (takes about 3 seconds for 100 items), we cache it in the governance interface.
* dexcon: correctly fine DKGSet for not producing blocks (#325)Wei-Ning Huang2019-06-151-19/+27
|
* dex: rebuild connection if dkg reset, core/vm: fix gov (#308)Jimmy Hu2019-06-151-0/+4
| | | | | * dex: rebuild connection if dkg reset * core: vm: fix governance contract
* core: merge notarySet and DKGSet (#265)Jimmy Hu2019-06-151-18/+2
| | | | | | | | * vendor: sync to latest core * core: merge notarySet and dkgSet * dex: optimize network traffic for finalized block
* consensus: dexcon: disqualify dead node (#280)Wei-Ning Huang2019-06-131-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: automatically calculate notary set size (#276)Wei-Ning Huang2019-06-131-1/+1
|
* core: vm: add extra checks to prevent DKG spamming (#272)Wei-Ning Huang2019-06-121-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-06-121-17/+51
|
* core: sync to latest core (#214)Jimmy Hu2019-06-121-6/+9
| | | | | * vendor: sync to latest core * fix for single chain
* core: Fixed gas price (#205)Jimmy Hu2019-06-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-06-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-06-121-2/+2
|
* core: vm: Add `MPKReady` to governance (#97)Jimmy Hu2019-06-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-06-121-9/+1
|
* Fix lintWei-Ning Huang2019-06-121-2/+2
|
* core, dex, downloader: refactor governanceSonic2019-06-121-24/+60
|
* core: implement insert chain, headerchain logicSonic2019-06-121-0/+102