Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dex: replace NodeMeta with ENR (#132) | Sonic | 2019-01-14 | 1 | -41/+39 |
| | |||||
* | dex: add pull randomness (#105) | Jimmy Hu | 2018-12-28 | 1 | -0/+20 |
| | | | | | * vendor: sync to latest core * dex: Add PullRandomness | ||||
* | dex: replace total difficulty with block number (#73) | Sonic | 2018-12-19 | 1 | -39/+32 |
| | | | | | | | 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 | 2018-12-19 | 1 | -6/+8 |
| | |||||
* | dex: implement downloader for dex | Sonic | 2018-12-19 | 1 | -8/+17 |
| | | | | | | | | | | | 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: Tx message optimization (#39) | Jimmy Hu | 2018-12-19 | 1 | -6/+26 |
| | | | | | | | | * dex: Add a tx queue in broadcast * Modify queue parameter * Priority select all messages except tx | ||||
* | dex: peer: more fix on ID conversion | Wei-Ning Huang | 2018-12-19 | 1 | -53/+53 |
| | |||||
* | dex: fix conflict caused by rebase | Wei-Ning Huang | 2018-12-19 | 1 | -48/+62 |
| | |||||
* | Rename import due to dexon-consensus rename | Wei-Ning Huang | 2018-12-19 | 1 | -3/+3 |
| | |||||
* | dex: implement PullBlocks/PullVotes (#1) | Jimmy Hu | 2018-12-19 | 1 | -1/+54 |
| | |||||
* | dex: increase TX queue size | Wei-Ning Huang | 2018-12-19 | 1 | -1/+1 |
| | |||||
* | vendor: sync consensus core and fix conflict | Wei-Ning Huang | 2018-12-19 | 1 | -8/+9 |
| | |||||
* | dex: no need to rlp encode/decode now, consensus supports it | Sonic | 2018-12-19 | 1 | -10/+6 |
| | |||||
* | dex: polish network related function | Sonic | 2018-12-19 | 1 | -57/+120 |
| | |||||
* | dex: let notary nodes connect to some dkg nodes | Sonic | 2018-12-19 | 1 | -38/+178 |
| | | | | BuildConnection builds notary and dkg connections together | ||||
* | dex: implement peerSetLoop | Sonic | 2018-12-19 | 1 | -0/+16 |
| | |||||
* | dex: gov: using dex-consensus-core NodeSetCache | Sonic | 2018-12-19 | 1 | -4/+24 |
| | |||||
* | dex: add method to get NumChains, NotarySet, DKGSet easily | Sonic | 2018-12-19 | 1 | -6/+6 |
| | |||||
* | dex: network: implement the network interface | Sonic | 2018-12-19 | 1 | -30/+200 |
| | |||||
* | dex: remove DAO related code | Sonic | 2018-12-19 | 1 | -3/+2 |
| | |||||
* | dex: redesign p2p network topology | Sonic | 2018-12-19 | 1 | -66/+230 |
| | | | | | | | | | | - 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 | 2018-12-19 | 1 | -4/+4 |
| | |||||
* | dex: let peer able to send notary node info | Sonic | 2018-12-19 | 1 | -3/+41 |
| | |||||
* | dex: let peerSet able to manage notary peers | Sonic | 2018-12-19 | 1 | -1/+64 |
| | |||||
* | Change package name from eth to dex | Sonic | 2018-12-19 | 1 | -1/+1 |
| | |||||
* | Copy codebase from eth | Sonic | 2018-12-19 | 1 | -0/+522 |