Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dex: fix fast sync in BP mode (#291) | Wei-Ning Huang | 2019-04-09 | 1 | -0/+18 |
| | | | | Start blockproposer only after fast sync is completed (received ChainHead event), so watchcat is not falsely triggered. | ||||
* | core: fill in genesis timstamp and remove dMoment from protocol handshake (#263) | Wei-Ning Huang | 2019-04-09 | 1 | -7/+3 |
| | | | | | | 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: rename lattice to core | Wei-Ning Huang | 2019-04-09 | 1 | -6/+6 |
| | |||||
* | dex, dex/downloader: remove some TODO comments (#232) | Sonic | 2019-04-09 | 1 | -6/+0 |
| | |||||
* | core: sync to latest core (#214) | Jimmy Hu | 2019-04-09 | 1 | -43/+21 |
| | | | | | * vendor: sync to latest core * fix for single chain | ||||
* | dex: some minor improvements (#195) | Sonic | 2019-04-09 | 1 | -19/+19 |
| | | | | | | | | | | * dex: improve some msg propagation * dex: support send a batch of lattice blocks, votes, randomnesses To reduce msgs number of PullBlocks, PullVotes, PullRandomness * dex: minor improvement | ||||
* | p2p, dex: rework connection management (#183) | Sonic | 2019-04-09 | 1 | -3/+7 |
| | | | | | | * p2p, dex: rework connection management * dex: refresh our node record periodically * dex: don't send new record event if no new record | ||||
* | params: write dMoment into ChainConfig (#150) | Wei-Ning Huang | 2019-04-09 | 1 | -3/+7 |
| | |||||
* | dex: replace NodeMeta with ENR (#132) | Sonic | 2019-04-09 | 1 | -34/+33 |
| | |||||
* | dex: replace total difficulty with block number (#73) | Sonic | 2019-04-09 | 1 | -4/+4 |
| | | | | | | | In dexon, we don't "mine" and the blockchain won't and shouldn't fork, so there is no difficulty concept, just replace it with block number. Note: this commit only replace total difficulty related logic and code in dex, dex/downloader package. | ||||
* | Fix lint | Wei-Ning Huang | 2019-04-09 | 1 | -2/+2 |
| | |||||
* | dex: fix tests | Wei-Ning Huang | 2019-04-09 | 1 | -24/+32 |
| | |||||
* | dex: use dex/downloader in dex | Sonic | 2019-04-09 | 1 | -1/+1 |
| | | | | | To compatible with ethereum code base, make Downloader a interface in internal/ethapi | ||||
* | dex: porting test to enode (#9) | Sonic | 2019-04-09 | 1 | -12/+11 |
| | |||||
* | Rename import due to dexon-consensus rename | Wei-Ning Huang | 2019-04-09 | 1 | -5/+5 |
| | |||||
* | dex: fix types changes in consensus core | Sonic | 2019-04-09 | 1 | -10/+9 |
| | |||||
* | dex: fix test | Sonic | 2019-04-09 | 1 | -1/+1 |
| | |||||
* | dex: no need to rlp encode/decode now, consensus supports it | Sonic | 2019-04-09 | 1 | -17/+15 |
| | |||||
* | dex: polish network related function | Sonic | 2019-04-09 | 1 | -11/+21 |
| | |||||
* | dex: fix flaky test | Sonic | 2019-04-09 | 1 | -0/+12 |
| | |||||
* | dex: network: implement the network interface | Sonic | 2019-04-09 | 1 | -0/+499 |
| | |||||
* | dex: redesign p2p network topology | Sonic | 2019-04-09 | 1 | -0/+82 |
| | | | | | | | | | | - Let p2p server support direct connection and group connection. - Introduce node meta table to maintain IP of all nodes in node set, in memory and let nodes in the network can sync this table. - Let peerSet able to manage direct connections to notary set and dkg set. The mechanism to refresh the network topology when configuration round change is not done yet. | ||||
* | Change import go github.com/dexon-foundation/dexon | Wei-Ning Huang | 2019-04-09 | 1 | -6/+6 |
| | |||||
* | Change package name from eth to dex | Sonic | 2019-04-09 | 1 | -1/+1 |
| | |||||
* | Copy codebase from eth | Sonic | 2019-04-09 | 1 | -0/+223 |