aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/governance.go
Commit message (Expand)AuthorAgeFilesLines
* core: vm: refactor governance and add node info oracle (#174)Wei-Ning Huang2019-04-091-2270/+0
* core: vm: Add amount to undelegate event (#176)Jimmy Hu2019-04-091-4/+4
* consensus: dexcon: snapshot round height when finalizing block (#170)Wei-Ning Huang2019-04-091-48/+0
* core, dex/downloader: polish headers verification and blocks insertion logic ...Sonic2019-04-091-0/+123
* consensus: implement DEXON cryptoeconomics v4.0 (#145)Wei-Ning Huang2019-04-091-29/+73
* core: vm: add totalSupply and totalStaked in the governance contract (#144)Wei-Ning Huang2019-04-091-25/+54
* core: vm: move governance abi to a separate file (#143)Wei-Ning Huang2019-04-091-1053/+1
* core: vm: emit events for more governance actions (#142)Wei-Ning Huang2019-04-091-0/+145
* core: vm: implement byzantine reporting mechanism (#128)Wei-Ning Huang2019-04-091-38/+393
* core: vm: add missing unittests for nodes/delegators (#116)Wei-Ning Huang2019-04-091-2/+2
* core/vm: Add fine to governance. (#107)Jimmy Hu2019-04-091-15/+88
* vendor: sync DEXON core and fix conflicts/missings (#101)Mission Liao2019-04-091-4/+6
* core: vm: Add `MPKReady` to governance (#97)Jimmy Hu2019-04-091-0/+166
* core/vm: fix nodes method in governanceJimmy Hu2019-04-091-1/+1
* core: vm: add undelegate fund lockup mechanism (#94)Wei-Ning Huang2019-04-091-36/+162
* core: governance interface should return correct DKG master public keys (#85)Wei-Ning Huang2019-04-091-15/+20
* core: vm: change offset type to int256Wei-Ning Huang2019-04-091-2/+7
* governance: implement delegate/undelegate function and add tests (#33)Wei-Ning Huang2019-04-091-107/+588
* core: more fix on light node synchronization (#32)Wei-Ning Huang2019-04-091-55/+37
* core: vm: add minStake to governance contract variable (#31)Wei-Ning Huang2019-04-091-0/+41
* core: fix light node synchronization issue (#30)Wei-Ning Huang2019-04-091-9/+11
* core: validate DKG set with correct nodeset in round-2 (#19)Wei-Ning Huang2019-04-091-7/+17
* core: push height of round 0 in genesis block (#17)Sonic2019-04-091-8/+8
* core: vm: expose governance contract ABI (#5)Wei-Ning Huang2019-04-091-2/+2
* core: vm: governance: add node infoWei-Ning Huang2019-04-091-8/+110
* core: validate roundHeight mapping in governance contractWei-Ning Huang2019-04-091-4/+20
* core: vm: governance: remove maxIntervalWei-Ning Huang2019-04-091-32/+0
* core: vm: add nodesLengh method for reading nodeSet sizeWei-Ning Huang2019-04-091-0/+20
* Rename import due to dexon-consensus renameWei-Ning Huang2019-04-091-11/+11
* dex: add block gas limit into governanceWei-Ning Huang2019-04-091-0/+35
* vendor: sync consensus core and fix conflictWei-Ning Huang2019-04-091-7/+8
* dex: fix DKG round switchingWei-Ning Huang2019-04-091-6/+18
* dex: fix round switching and initialize dMoment correctlyWei-Ning Huang2019-04-091-1/+2
* dex: misc fixesWei-Ning Huang2019-04-091-3/+3
* dex: use RLP to encode contract payload dataWei-Ning Huang2019-04-091-6/+6
* core: vm: add blockReward to governanceWei-Ning Huang2019-04-091-0/+35
* dex: fix public key parsing due to changes in consensus coreWei-Ning Huang2019-04-091-1/+4
* test: create account storage for governance contractWei-Ning Huang2019-04-091-1/+1
* core/dex: fix governance contract implementationWei-Ning Huang2019-04-091-19/+13
* dex/core: misc bug fixesWei-Ning Huang2019-04-091-1/+1
* core: vm: modify dkg thresholdJimmy Hu2019-04-091-1/+1
* core: vm: add GovernanceStateHelper testWei-Ning Huang2019-04-091-0/+17
* dex: bug fix to allow running geth without crashingWei-Ning Huang2019-04-091-1/+1
* dex: implement sendTx related governance methodsWei-Ning Huang2019-04-091-0/+5
* core: vm: validate if mpk, complaint, finalize is in DKG setWei-Ning Huang2019-04-091-36/+62
* core: vm: allow other people to stake for a nodeWei-Ning Huang2019-04-091-6/+0
* dex: implement some governance interface functionsWei-Ning Huang2019-04-091-213/+342
* dex: governance: implement governance interfaceWei-Ning Huang2019-04-091-7/+22
* core: populate dexon configuration in SetupGenesisBlockWei-Ning Huang2019-04-091-31/+25
* core: add stake and public key to genesis account infoWei-Ning Huang2019-04-091-44/+55
* core: vm: check pk ownership in stake()Wei-Ning Huang2019-04-091-1/+12
* core: vm: expose nodes as publicWei-Ning Huang2019-04-091-14/+52
* core: vm: add eventlog for governance contractWei-Ning Huang2019-04-091-41/+98
* core: vm: refactor and add DKGFinalizeds related implementationsWei-Ning Huang2019-04-091-94/+300
* core: vm: implement the rest of governance contract methodsWei-Ning Huang2019-04-091-132/+275
* core: vm: check if caller already staked when adding dkg mpkJimmy Hu2019-04-091-0/+7
* core: vm: fix bug and add gas usageWei-Ning Huang2019-04-091-21/+54
* core: vm: finish implementing state helperWei-Ning Huang2019-04-091-23/+206
* core: vm: update governance contract ABIWei-Ning Huang2019-04-091-9/+75
* core: vm: implement governance contract methodsWei-Ning Huang2019-04-091-51/+218
* core: vm: add governance contract skeletonWei-Ning Huang2019-04-091-0/+492