Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vendor: sync to latest core and fix conflict (#79) | Jimmy Hu | 2019-03-12 | 1 | -2/+1 |
| | |||||
* | core, dex: polish sync (#75) | Sonic | 2019-03-12 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | - Broadcasting blocks at chain head event is not correct when the full node is not running in block proposer mode. Introduce NewFinalizedBlockEvent, this event is post by the full node which runs in block proposer mode when a block is witnessed and resulting in some blocks are considered finalized. - Non block proposer node will still broadcast blocks at the following moment (same as ethereum): 1. a sync with a peer is terminated successfully 2. a block passes the fetcher's header check during inserting blocks 3. a block is successfully inserted by fetcher - Don't trigger a sync when we are not behind other peers more than acceptable distance. Fetcher is able to cover this. | ||||
* | app: add app test case and benchmark (#66) | bojie | 2019-03-12 | 1 | -1/+1 |
| | |||||
* | Fix lint | Wei-Ning Huang | 2019-03-12 | 1 | -1/+1 |
| | |||||
* | dex: use dex/downloader in dex | Sonic | 2019-03-12 | 1 | -10/+10 |
| | | | | | To compatible with ethereum code base, make Downloader a interface in internal/ethapi | ||||
* | dex: add BlockDB, which implements consensus core's blockdb.BlockDatabase (#36) | Sonic | 2019-03-12 | 1 | -11/+2 |
| | |||||
* | core: fix light node synchronization issue (#30) | Wei-Ning Huang | 2019-03-12 | 1 | -0/+1 |
| | | | | | 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 | -4/+3 |
| | | | | | | | | 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: remove gasprice package and use eth/gasprice instead | Wei-Ning Huang | 2019-03-12 | 1 | -1/+1 |
| | | | | We did not change anything in eth/gasprice, don't copy it into dex. | ||||
* | app: fix core test | BJ4 | 2019-03-12 | 1 | -1/+2 |
| | |||||
* | test: start a separate RPC node for testing block sync | Wei-Ning Huang | 2019-03-12 | 1 | -9/+2 |
| | |||||
* | Rename import due to dexon-consensus rename | Wei-Ning Huang | 2019-03-12 | 1 | -9/+9 |
| | |||||
* | dex: fix round switching and initialize dMoment correctly | Wei-Ning Huang | 2019-03-12 | 1 | -1/+8 |
| | |||||
* | geth: add propose flag to enable/disable proposing | Sonic | 2019-03-12 | 1 | -0/+7 |
| | |||||
* | dex: pass logger object to consensus core | Wei-Ning Huang | 2019-03-12 | 1 | -1/+1 |
| | |||||
* | consensus: dexcon: fetch config from state | Wei-Ning Huang | 2019-03-12 | 1 | -1/+7 |
| | |||||
* | dex: add initial block to Run | Jimmy Hu | 2019-03-12 | 1 | -1/+3 |
| | |||||
* | dex: register ethereum APIs | Wei-Ning Huang | 2019-03-12 | 1 | -1/+38 |
| | |||||
* | hack: temp fix for running tests | Wei-Ning Huang | 2019-03-12 | 1 | -1/+4 |
| | |||||
* | dex: add subprotocols | Sonic | 2019-03-12 | 1 | -1/+1 |
| | |||||
* | dex: run consensus core on Start | Wei-Ning Huang | 2019-03-12 | 1 | -0/+1 |
| | |||||
* | app: add default block reward | Bojie Wu | 2019-03-12 | 1 | -1/+1 |
| | |||||
* | dex: set tmp dMoment for testing | Wei-Ning Huang | 2019-03-12 | 1 | -1/+2 |
| | |||||
* | dex: add self node meta after Start | Sonic | 2019-03-12 | 1 | -0/+1 |
| | |||||
* | dex: move dexcon blockdb into datadir | Wei-Ning Huang | 2019-03-12 | 1 | -1/+3 |
| | |||||
* | dex: interface update | Wei-Ning Huang | 2019-03-12 | 1 | -1/+3 |
| | |||||
* | dex: network: implement the network interface | Sonic | 2019-03-12 | 1 | -5/+30 |
| | |||||
* | dex: bug fix to allow running geth without crashing | Wei-Ning Huang | 2019-03-12 | 1 | -3/+6 |
| | |||||
* | dex: implement sendTx related governance methods | Wei-Ning Huang | 2019-03-12 | 1 | -1/+1 |
| | |||||
* | dex: pass p2p nodeKey to Dexon instance | Wei-Ning Huang | 2019-03-12 | 1 | -8/+4 |
| | |||||
* | dex: implement some governance interface functions | Wei-Ning Huang | 2019-03-12 | 1 | -1/+1 |
| | |||||
* | dex: governance: implement governance interface | Wei-Ning Huang | 2019-03-12 | 1 | -11/+21 |
| | |||||
* | dex: add api_backend.go and it's dependencies | Wei-Ning Huang | 2019-03-12 | 1 | -2/+13 |
| | |||||
* | dex: implement dexon application interface | Bojie Wu | 2019-03-12 | 1 | -4/+66 |
| | |||||
* | dex: update consensus core interface | Wei-Ning Huang | 2019-03-12 | 1 | -5/+4 |
| | |||||
* | Change import go github.com/dexon-foundation/dexon | Wei-Ning Huang | 2019-03-12 | 1 | -10/+10 |
| | |||||
* | Use dex.Config instead of eth.Config | Wei-Ning Huang | 2019-03-07 | 1 | -14/+2 |
| | |||||
* | dex: fix use of internal package not allowed | Sonic | 2019-03-07 | 1 | -1/+1 |
| | |||||
* | dex: make geth buildable and update interface skeleton | Wei-Ning Huang | 2019-03-07 | 1 | -0/+107 |
| | |||||
* | Add dex package | Wei-Ning Huang | 2019-03-07 | 1 | -0/+22 |