aboutsummaryrefslogtreecommitdiffstats
path: root/dex/protocol_test.go
Commit message (Collapse)AuthorAgeFilesLines
* dex: some minor improvements (#195)Sonic2019-02-141-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-01-311-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-01-141-3/+7
|
* dex: replace NodeMeta with ENR (#132)Sonic2019-01-141-34/+33
|
* dex: replace total difficulty with block number (#73)Sonic2018-12-191-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 Huang2018-12-191-2/+2
|
* dex: fix testsWei-Ning Huang2018-12-191-24/+32
|
* dex: use dex/downloader in dexSonic2018-12-191-1/+1
| | | | | To compatible with ethereum code base, make Downloader a interface in internal/ethapi
* dex: porting test to enode (#9)Sonic2018-12-191-12/+11
|
* Rename import due to dexon-consensus renameWei-Ning Huang2018-12-191-5/+5
|
* dex: fix types changes in consensus coreSonic2018-12-191-10/+9
|
* dex: fix testSonic2018-12-191-1/+1
|
* dex: no need to rlp encode/decode now, consensus supports itSonic2018-12-191-17/+15
|
* dex: polish network related functionSonic2018-12-191-11/+21
|
* dex: fix flaky testSonic2018-12-191-0/+12
|
* dex: network: implement the network interfaceSonic2018-12-191-0/+499
|
* dex: redesign p2p network topologySonic2018-12-191-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 Huang2018-12-191-6/+6
|
* Change package name from eth to dexSonic2018-12-191-1/+1
|
* Copy codebase from ethSonic2018-12-191-0/+223