Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core, dex, downloader: refactor governance | Sonic | 2019-06-12 | 1 | -102/+10 |
| | |||||
* | dex: implement downloader for dex | Sonic | 2019-06-12 | 1 | -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 Huang | 2019-06-12 | 1 | -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 Huang | 2019-06-12 | 1 | -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 Huang | 2019-06-12 | 1 | -4/+2 |
| | | | | | * vendor: sync consensus core * core: validate DKG set with correct nodeset in round-2 | ||||
* | dex: fix conflict caused by rebase | Wei-Ning Huang | 2019-06-12 | 1 | -4/+3 |
| | |||||
* | dex: increase governance tx gas price | Wei-Ning Huang | 2019-06-12 | 1 | -0/+4 |
| | |||||
* | core: validate roundHeight mapping in governance contract | Wei-Ning Huang | 2019-06-12 | 1 | -0/+7 |
| | |||||
* | core: vm: governance: remove maxInterval | Wei-Ning Huang | 2019-06-12 | 1 | -1/+0 |
| | |||||
* | Rename import due to dexon-consensus rename | Wei-Ning Huang | 2019-06-12 | 1 | -6/+6 |
| | |||||
* | dex: add block gas limit into governance | Wei-Ning Huang | 2019-06-12 | 1 | -6/+0 |
| | |||||
* | vendor: sync consensus core and fix conflict | Wei-Ning Huang | 2019-06-12 | 1 | -9/+10 |
| | |||||
* | dex: fix DKG round switching | Wei-Ning Huang | 2019-06-12 | 1 | -3/+3 |
| | |||||
* | dex: misc fixes | Wei-Ning Huang | 2019-06-12 | 1 | -8/+15 |
| | |||||
* | dex: use RLP to encode contract payload data | Wei-Ning Huang | 2019-06-12 | 1 | -6/+6 |
| | |||||
* | dex: fix DKGMasterPublicKey and DKGComplaints unmarshal | Wei-Ning Huang | 2019-06-12 | 1 | -3/+2 |
| | |||||
* | consensus: dexcon: fetch config from state | Wei-Ning Huang | 2019-06-12 | 1 | -1/+7 |
| | |||||
* | dex: fix public key parsing due to changes in consensus core | Wei-Ning Huang | 2019-06-12 | 1 | -12/+8 |
| | |||||
* | core/dex: fix governance contract implementation | Wei-Ning Huang | 2019-06-12 | 1 | -8/+8 |
| | |||||
* | dex/core: misc bug fixes | Wei-Ning Huang | 2019-06-12 | 1 | -0/+4 |
| | |||||
* | dex: implement peerSetLoop | Sonic | 2019-06-12 | 1 | -0/+5 |
| | |||||
* | dex: gov: using dex-consensus-core NodeSetCache | Sonic | 2019-06-12 | 1 | -49/+34 |
| | |||||
* | dex: add method to get NumChains, NotarySet, DKGSet easily | Sonic | 2019-06-12 | 1 | -12/+56 |
| | |||||
* | dex: network: implement the network interface | Sonic | 2019-06-12 | 1 | -0/+20 |
| | |||||
* | dex: bug fix to allow running geth without crashing | Wei-Ning Huang | 2019-06-12 | 1 | -41/+41 |
| | |||||
* | dex: implement sendTx related governance methods | Wei-Ning Huang | 2019-06-12 | 1 | -5/+127 |
| | |||||
* | dex: pass p2p nodeKey to Dexon instance | Wei-Ning Huang | 2019-06-12 | 1 | -5/+12 |
| | |||||
* | dex: implement some governance interface functions | Wei-Ning Huang | 2019-06-12 | 1 | -19/+95 |
| | |||||
* | dex: governance: implement governance interface | Wei-Ning Huang | 2019-06-12 | 1 | -2/+13 |
| | |||||
* | core: vm: refactor and add DKGFinalizeds related implementations | Wei-Ning Huang | 2019-06-12 | 1 | -2/+11 |
| | |||||
* | core: vm: implement the rest of governance contract methods | Wei-Ning Huang | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | core: vm: add governance contract skeleton | Wei-Ning Huang | 2019-06-12 | 1 | -7/+7 |
| | |||||
* | dex: update consensus core interface | Wei-Ning Huang | 2019-06-12 | 1 | -7/+17 |
| | |||||
* | Use dex.Config instead of eth.Config | Wei-Ning Huang | 2019-06-12 | 1 | -1/+2 |
| | |||||
* | dex: make geth buildable and update interface skeleton | Wei-Ning Huang | 2019-06-12 | 1 | -2/+12 |
| | |||||
* | Add udpated governance interface and app interface | Wei-Ning Huang | 2019-06-12 | 1 | -0/+32 |