aboutsummaryrefslogtreecommitdiffstats
path: root/dex/governance.go
Commit message (Collapse)AuthorAgeFilesLines
* consensus: implement DEXON cryptoeconomics v4.0 (#145)Wei-Ning Huang2019-06-121-2/+2
|
* core: vm: implement byzantine reporting mechanism (#128)Wei-Ning Huang2019-06-121-8/+58
|
* vendor: sync to latest core (#129)Wei-Ning Huang2019-06-121-0/+9
|
* core: vm: Add `MPKReady` to governance (#97)Jimmy Hu2019-06-121-0/+40
| | | | | | * core/vm: Add DKGMPKReady * param: update GenesisHash * vendor: sync to latest core
* core, dex, downloader: refactor governanceSonic2019-06-121-102/+10
|
* dex: implement downloader for dexSonic2019-06-121-2/+2
| | | | | | | | | | | We need governance state to verify block's signature (randomness), but in ethereum fast sync mode, eth downloader only downloads the whole state of pivot block, so we don't have governance state to verify the downloaded block that is before pivot block if we don't processing transaction. To avoid running transactions, dex downloader also downloads the governance state (merkle proof and storage) at snapshot height of each round, so that we can verify blocks in fast sync mode.
* governance: implement delegate/undelegate function and add tests (#33)Wei-Ning Huang2019-06-121-3/+3
| | | | | Implement delegate/undelegate function to allow others to delegate it's fund to stake on a node. Also added governance contract tests.
* core: more fix on light node synchronization (#32)Wei-Ning Huang2019-06-121-6/+5
| | | | | | Fix gas calculation in governance contract. Correctly register round height when processing pending blocks. We should register the mapping when we get the pending block instead of waiting for block confirmation.
* core: validate DKG set with correct nodeset in round-2 (#19)Wei-Ning Huang2019-06-121-4/+2
| | | | | * vendor: sync consensus core * core: validate DKG set with correct nodeset in round-2
* dex: fix conflict caused by rebaseWei-Ning Huang2019-06-121-4/+3
|
* dex: increase governance tx gas priceWei-Ning Huang2019-06-121-0/+4
|
* core: validate roundHeight mapping in governance contractWei-Ning Huang2019-06-121-0/+7
|
* core: vm: governance: remove maxIntervalWei-Ning Huang2019-06-121-1/+0
|
* Rename import due to dexon-consensus renameWei-Ning Huang2019-06-121-6/+6
|
* dex: add block gas limit into governanceWei-Ning Huang2019-06-121-6/+0
|
* vendor: sync consensus core and fix conflictWei-Ning Huang2019-06-121-9/+10
|
* dex: fix DKG round switchingWei-Ning Huang2019-06-121-3/+3
|
* dex: misc fixesWei-Ning Huang2019-06-121-8/+15
|
* dex: use RLP to encode contract payload dataWei-Ning Huang2019-06-121-6/+6
|
* dex: fix DKGMasterPublicKey and DKGComplaints unmarshalWei-Ning Huang2019-06-121-3/+2
|
* consensus: dexcon: fetch config from stateWei-Ning Huang2019-06-121-1/+7
|
* dex: fix public key parsing due to changes in consensus coreWei-Ning Huang2019-06-121-12/+8
|
* core/dex: fix governance contract implementationWei-Ning Huang2019-06-121-8/+8
|
* dex/core: misc bug fixesWei-Ning Huang2019-06-121-0/+4
|
* dex: implement peerSetLoopSonic2019-06-121-0/+5
|
* dex: gov: using dex-consensus-core NodeSetCacheSonic2019-06-121-49/+34
|
* dex: add method to get NumChains, NotarySet, DKGSet easilySonic2019-06-121-12/+56
|
* dex: network: implement the network interfaceSonic2019-06-121-0/+20
|
* dex: bug fix to allow running geth without crashingWei-Ning Huang2019-06-121-41/+41
|
* dex: implement sendTx related governance methodsWei-Ning Huang2019-06-121-5/+127
|
* dex: pass p2p nodeKey to Dexon instanceWei-Ning Huang2019-06-121-5/+12
|
* dex: implement some governance interface functionsWei-Ning Huang2019-06-121-19/+95
|
* dex: governance: implement governance interfaceWei-Ning Huang2019-06-121-2/+13
|
* core: vm: refactor and add DKGFinalizeds related implementationsWei-Ning Huang2019-06-121-2/+11
|
* core: vm: implement the rest of governance contract methodsWei-Ning Huang2019-06-121-1/+1
|
* core: vm: add governance contract skeletonWei-Ning Huang2019-06-121-7/+7
|
* dex: update consensus core interfaceWei-Ning Huang2019-06-121-7/+17
|
* Use dex.Config instead of eth.ConfigWei-Ning Huang2019-06-121-1/+2
|
* dex: make geth buildable and update interface skeletonWei-Ning Huang2019-06-121-2/+12
|
* Add udpated governance interface and app interfaceWei-Ning Huang2019-06-121-0/+32