aboutsummaryrefslogtreecommitdiffstats
path: root/dex/protocol_test.go
Commit message (Collapse)AuthorAgeFilesLines
* dex: fix fast sync in BP mode (#291)Wei-Ning Huang2019-04-091-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 Huang2019-04-091-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 coreWei-Ning Huang2019-04-091-6/+6
|
* dex, dex/downloader: remove some TODO comments (#232)Sonic2019-04-091-6/+0
|
* core: sync to latest core (#214)Jimmy Hu2019-04-091-43/+21
| | | | | * vendor: sync to latest core * fix for single chain
* dex: some minor improvements (#195)Sonic2019-04-091-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)Sonic2019-04-091-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 Huang2019-04-091-3/+7
|
* dex: replace NodeMeta with ENR (#132)Sonic2019-04-091-34/+33
|
* dex: replace total difficulty with block number (#73)Sonic2019-04-091-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 lintWei-Ning Huang2019-04-091-2/+2
|
* dex: fix testsWei-Ning Huang2019-04-091-24/+32
|
* dex: use dex/downloader in dexSonic2019-04-091-1/+1
| | | | | To compatible with ethereum code base, make Downloader a interface in internal/ethapi
* dex: porting test to enode (#9)Sonic2019-04-091-12/+11
|
* Rename import due to dexon-consensus renameWei-Ning Huang2019-04-091-5/+5
|
* dex: fix types changes in consensus coreSonic2019-04-091-10/+9
|
* dex: fix testSonic2019-04-091-1/+1
|
* dex: no need to rlp encode/decode now, consensus supports itSonic2019-04-091-17/+15
|
* dex: polish network related functionSonic2019-04-091-11/+21
|
* dex: fix flaky testSonic2019-04-091-0/+12
|
* dex: network: implement the network interfaceSonic2019-04-091-0/+499
|
* dex: redesign p2p network topologySonic2019-04-091-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/dexonWei-Ning Huang2019-04-091-6/+6
|
* Change package name from eth to dexSonic2019-04-091-1/+1
|
* Copy codebase from ethSonic2019-04-091-0/+223