Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core: various changes on tps tuning (#46) | Wei-Ning Huang | 2019-03-12 | 1 | -1/+1 |
| | |||||
* | core, dex, downloader: refactor governance | Sonic | 2019-03-12 | 1 | -8/+4 |
| | |||||
* | core, dex, dex/downloader: restore insertChain to upstream version | Sonic | 2019-03-12 | 1 | -1/+1 |
| | | | | | Also rename InsertChain2, insertChain2, InsertHeaderChain2, ValidateHeaderChain2 | ||||
* | dex: implement downloader for dex | Sonic | 2019-03-12 | 1 | -5/+80 |
| | | | | | | | | | | | 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: use dex/downloader in dex | Sonic | 2019-03-12 | 1 | -2/+2 |
| | | | | | To compatible with ethereum code base, make Downloader a interface in internal/ethapi | ||||
* | core: add global signature cache and improve concurrency (#42) | Wei-Ning Huang | 2019-03-12 | 1 | -1/+1 |
| | | | | | From the go trace result, the bottleneck hides in the lock of StoreTxCache. To improve this, we update the cache in a batched fassion. | ||||
* | core, dex: Batch process touchSender. Lower priority for tx. (#41) | Jimmy Hu | 2019-03-12 | 1 | -0/+1 |
| | | | | | | | * dex: Add a tx queue in broadcast * Modify queue parameter * Priority select all messages except tx * Batch process TouchSenders | ||||
* | dex: Tx message optimization (#39) | Jimmy Hu | 2019-03-12 | 1 | -1/+16 |
| | | | | | | | | * dex: Add a tx queue in broadcast * Modify queue parameter * Priority select all messages except tx | ||||
* | core: fix light node synchronization issue (#30) | Wei-Ning Huang | 2019-03-12 | 1 | -0/+4 |
| | | | | | InsertChain() need to record the correct roundHeight mapping in order to process snapshotRoundHeight() governance method correctly. | ||||
* | core: refactor validator and fix light node sync (#25) | Wei-Ning Huang | 2019-03-12 | 1 | -39/+64 |
| | | | | | | | | Remove custom Dexon validator by adding a new `ValidateWitnessData` method into the validator interface. This allow us to properly detect know blocks. This also allow other gdex "light" client to sync compaction chain. Also, setup a standalone RPC node for handling RPC reqeusts. | ||||
* | dex: fix conflict caused by rebase | Wei-Ning Huang | 2019-03-12 | 1 | -5/+12 |
| | |||||
* | test: disable standalone RPC server as BroadcastBlock currently cause forking | Wei-Ning Huang | 2019-03-12 | 1 | -3/+1 |
| | |||||
* | test: start a separate RPC node for testing block sync | Wei-Ning Huang | 2019-03-12 | 1 | -1/+3 |
| | |||||
* | Rename import due to dexon-consensus rename | Wei-Ning Huang | 2019-03-12 | 1 | -10/+10 |
| | |||||
* | dex: implement PullBlocks/PullVotes (#1) | Jimmy Hu | 2019-03-12 | 1 | -0/+80 |
| | |||||
* | vendor: sync consensus core and fix conflict | Wei-Ning Huang | 2019-03-12 | 1 | -4/+5 |
| | |||||
* | dex: prevent broadcasting agreement and randomness indefinitely | Wei-Ning Huang | 2019-03-12 | 1 | -2/+6 |
| | |||||
* | dex: misc fixes | Wei-Ning Huang | 2019-03-12 | 1 | -0/+2 |
| | |||||
* | dex: no need to rlp encode/decode now, consensus supports it | Sonic | 2019-03-12 | 1 | -10/+8 |
| | |||||
* | dex: fix public key conversion | Wei-Ning Huang | 2019-03-12 | 1 | -6/+2 |
| | |||||
* | dex: polish network related function | Sonic | 2019-03-12 | 1 | -30/+58 |
| | |||||
* | dex: let notary nodes connect to some dkg nodes | Sonic | 2019-03-12 | 1 | -16/+17 |
| | | | | BuildConnection builds notary and dkg connections together | ||||
* | dex: implement peerSetLoop | Sonic | 2019-03-12 | 1 | -11/+43 |
| | |||||
* | hack: temp fix for running tests | Wei-Ning Huang | 2019-03-12 | 1 | -7/+1 |
| | |||||
* | dex: add self node meta after Start | Sonic | 2019-03-12 | 1 | -2/+32 |
| | |||||
* | dex: add method to get NumChains, NotarySet, DKGSet easily | Sonic | 2019-03-12 | 1 | -4/+3 |
| | |||||
* | dex: network: implement the network interface | Sonic | 2019-03-12 | 1 | -0/+116 |
| | |||||
* | dex: remove DAO related code | Sonic | 2019-03-12 | 1 | -59/+0 |
| | |||||
* | dex: redesign p2p network topology | Sonic | 2019-03-12 | 1 | -129/+87 |
| | | | | | | | | | | - 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-03-12 | 1 | -13/+13 |
| | |||||
* | dex: implement notary node info propagation and management mechanism | Sonic | 2019-03-07 | 1 | -14/+150 |
| | |||||
* | dex: introduce dex64 and remove eth62, eth63 | Sonic | 2019-03-07 | 1 | -9/+4 |
| | |||||
* | Change package name from eth to dex | Sonic | 2019-03-07 | 1 | -1/+1 |
| | |||||
* | Copy codebase from eth | Sonic | 2019-03-07 | 1 | -0/+787 |