aboutsummaryrefslogtreecommitdiffstats
path: root/dex/protocol.go
Commit message (Collapse)AuthorAgeFilesLines
* core, dex, downloader: refactor governanceSonic2019-03-121-2/+1
|
* dex: implement downloader for dexSonic2019-03-121-1/+9
| | | | | | | | | | | We need governance state to verify block's signature (randomness), but in ethereum fast sync mode, eth downloader only downloads the whole state of pivot block, so we don't have governance state to verify the downloaded block that is before pivot block if we don't processing transaction. To avoid running transactions, dex downloader also downloads the governance state (merkle proof and storage) at snapshot height of each round, so that we can verify blocks in fast sync mode.
* dex: remove useless codeSonic2019-03-121-115/+0
|
* Rename import due to dexon-consensus renameWei-Ning Huang2019-03-121-5/+5
|
* dex: implement PullBlocks/PullVotes (#1)Jimmy Hu2019-03-121-1/+20
|
* dex: no need to rlp encode/decode now, consensus supports itSonic2019-03-121-4/+2
|
* dex: implement peerSetLoopSonic2019-03-121-0/+2
|
* dex: gov: using dex-consensus-core NodeSetCacheSonic2019-03-121-2/+2
|
* dex: add self node meta after StartSonic2019-03-121-0/+3
|
* dex: add method to get NumChains, NotarySet, DKGSet easilySonic2019-03-121-5/+3
|
* dex: network: implement the network interfaceSonic2019-03-121-1/+133
|
* dex: redesign p2p network topologySonic2019-03-121-25/+17
| | | | | | | | | | - 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-03-121-8/+8
|
* dex: implement notary node info propagation and management mechanismSonic2019-03-071-1/+10
|
* dex: introduce dex64 and remove eth62, eth63Sonic2019-03-071-5/+29
|
* Change package name from eth to dexSonic2019-03-071-1/+1
|
* Copy codebase from ethSonic2019-03-071-0/+183