| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Stop blockproposer in the Stop() method of node service so the process
doens't hang.
|
|
|
|
|
| |
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
The DEXON recovery protocol allows us to use the Ethereum blockchain as a
fallback consensus chain to coordinate recovery.
* fix
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* Add Yilan network
* Fixup: remove dummy log
|
|
|
| |
So that other contract can call oracle contract.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* indexer: ReadOnlyBlockchain returns underlying engine
* indexer: plugin configs support custom flags
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
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 DKGMPKReady
* param: update GenesisHash
* vendor: sync to latest core
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
Add a new testnet named Taipei.
|
|
|
|
|
|
|
|
| |
* Revert "cmd: gdex: SIGUSR1 to dump stack (#6)"
This reverts commit 86c985c76272667ad68c604ad09e229453d17859.
* Add pprof to test
|
| |
|
| |
|
|
|