aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/gdex
Commit message (Collapse)AuthorAgeFilesLines
* dex: properly start and stop the block proposer module (#264)Wei-Ning Huang2019-04-091-3/+0
| | | | Stop blockproposer in the Stop() method of node service so the process doens't hang.
* core: fill in genesis timstamp and remove dMoment from protocol handshake (#263)Wei-Ning Huang2019-04-091-2/+2
| | | | | | Fill in dmoment as genesis block timestamp. This allow us to remove dMoment check from protocol handshake since genesis block hash itself will protect us against different dMoment.
* dex: implement recovery mechanism (#258)Wei-Ning Huang2019-04-091-0/+1
| | | | | | | | | * dex: implement recovery mechanism The DEXON recovery protocol allows us to use the Ethereum blockchain as a fallback consensus chain to coordinate recovery. * fix
* core: vm: remove delegation mechanism (#245)Wei-Ning Huang2019-04-091-1/+1
| | | | | | | | | | | | | The current delegation mechanism are prone to unstaking attack. i.e. a malicious attacker could unstake a small amount from a lot of node it staked before and make them unqualified, which leads to potential failure of the network. Since DEXON does not use consensus like DPoS, node is required to have at least MinStake in order to become a node. Voting mechanism is not required in our system since qualified node does not depends on the number of votes. Instead of managing the delegation mechanism in governance contract, we should let the owner manage the delegation and reward distribution mechanism on their own.
* params: add Yilan network (#207)Mission Liao2019-04-093-0/+4
| | | | | | * Add Yilan network * Fixup: remove dummy log
* core: set oracle contract's code (#209)Sonic2019-04-091-1/+1
| | | So that other contract can call oracle contract.
* params: write dMoment into ChainConfig (#150)Wei-Ning Huang2019-04-091-1/+0
|
* consensus: implement DEXON cryptoeconomics v4.0 (#145)Wei-Ning Huang2019-04-091-1/+1
|
* core: vm: implement byzantine reporting mechanism (#128)Wei-Ning Huang2019-04-091-1/+1
|
* Indexer plugin extension and custom flags support (#117)Meng-Ying Yang2019-04-092-0/+2
| | | | | | * indexer: ReadOnlyBlockchain returns underlying engine * indexer: plugin configs support custom flags
* core/vm: Add fine to governance. (#107)Jimmy Hu2019-04-091-1/+1
| | | | | | | | * core/vm: Add Fined field to nodeInfo. * core/vm: Add PayFine to Governance * Not qualify if staked-fine < minStake() * Add test for fine * Update genesis hash
* indexer: support data exporting/forwarding (#103)Meng-Ying Yang2019-04-092-0/+9
| | | | | | | | | To support more effective and flexible blockchain info exploring, we add `indexer` package, defines the flow of indexer dameon, and integrate into dex.Dexon fullnode. For more export options, we use Golang built-in `plugin` package to support mulitple implementations.
* core: vm: Add `MPKReady` to governance (#97)Jimmy Hu2019-04-091-1/+1
| | | | | | * core/vm: Add DKGMPKReady * param: update GenesisHash * vendor: sync to latest core
* core: vm: add undelegate fund lockup mechanism (#94)Wei-Ning Huang2019-04-091-1/+1
| | | | | Only allow a user to withdraw funds after a certain lockup period. This way, the fund of a bad actor could be confiscated before he could escape.
* dex, cmd: Add DMoment to command line (#87)Jimmy Hu2019-04-091-0/+1
|
* core: fix tests (#65)Wei-Ning Huang2019-04-092-8/+8
|
* cmd: fix tests (#55)bojie2019-04-093-14/+19
|
* core: add Taipei testnet (#47)Wei-Ning Huang2019-04-093-1/+5
| | | | Add a new testnet named Taipei.
* cmd: gdex: Revert #6 (#11)Jimmy Hu2019-04-091-44/+0
| | | | | | | | * Revert "cmd: gdex: SIGUSR1 to dump stack (#6)" This reverts commit 86c985c76272667ad68c604ad09e229453d17859. * Add pprof to test
* cmd: gdex: SIGUSR1 to dump stack (#6)Jimmy Hu2019-04-091-0/+44
|
* test: start a separate RPC node for testing block syncWei-Ning Huang2019-04-092-4/+4
|
* Rename geth -> gdex and fix DockerfileWei-Ning Huang2019-04-0918-0/+3446