Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | big-bang: single chain (#446) | Mission Liao | 2019-02-19 | 1 | -343/+0 |
| | |||||
* | core: pull block random (#384) | Jimmy Hu | 2018-12-26 | 1 | -0/+8 |
| | | | | | | | | * Add PullRandomness to interface * Add pendingBlocksWithoutRandomness to compactionChain * Pull randomness every 1 second | ||||
* | test: allow to log in test.State (#359) | Mission Liao | 2018-12-06 | 1 | -2/+2 |
| | |||||
* | core: log the last pending block in compaction chain (#355) | Mission Liao | 2018-12-04 | 1 | -1/+1 |
| | |||||
* | core: remove finalized from compaction-chain module (#350) | Mission Liao | 2018-11-30 | 1 | -203/+30 |
| | | | | | | | | | | | | * Remove extractFinalizedBlock * Fix/Remove tests related to extractFinalizedBlocks * Remove unused function * Provide randomness result from finalized blocks, nothing more. * Make init block matched with pendingBlocks[0] | ||||
* | core: Block randomness will be processed again in finalized block (#338) | Jimmy Hu | 2018-11-20 | 1 | -40/+108 |
| | | | | | | * Process randomness result in finalized block if missed * Add test for missing block randomness | ||||
* | core: expose implicit round shift (#321) | Mission Liao | 2018-11-13 | 1 | -1/+2 |
| | |||||
* | Rename repo to dexon-consensus | Wei-Ning Huang | 2018-11-02 | 1 | -9/+9 |
| | |||||
* | core: handle round 0 randomness in processFinalizedBlock (#256) | Jimmy Hu | 2018-10-25 | 1 | -0/+6 |
| | |||||
* | core: fix stuffs (#250) | Mission Liao | 2018-10-24 | 1 | -0/+14 |
| | | | | | | | | * fix discontinuous finalization height * remove types.Block.Witness.Timestamp field * add field: types.Block.Finalization.ParentHash * fix log format of CRS * switch round and chain in log of types.Position. | ||||
* | test: add test.State (#239) | Mission Liao | 2018-10-24 | 1 | -1/+3 |
| | | | | | | | | | * separate test utility and interface implementation for test.Governance. * add test.State. * integrate test.State to test.Governance. test.State is mainly used to emulate state propagation on fullnode. | ||||
* | core: Sync from BA and test. (#224) | Jimmy Hu | 2018-10-19 | 1 | -17/+124 |
| | |||||
* | core: sync compaction chain (#222) | Jimmy Hu | 2018-10-18 | 1 | -0/+107 |
| | |||||
* | core: Add init block to Run() (#221) | Jimmy Hu | 2018-10-18 | 1 | -7/+5 |
| | |||||
* | core: Some sync functions (#220) | Jimmy Hu | 2018-10-17 | 1 | -1/+4 |
| | |||||
* | Finalization Height starts from 1 (#215) | Jimmy Hu | 2018-10-16 | 1 | -0/+5 |
| | |||||
* | core: No randomness for round 0 (#198) | Jimmy Hu | 2018-10-15 | 1 | -0/+37 |
| | | | | | * No randomness for round 0 * Ignore round 0 randomness | ||||
* | core: change interface (#193) | Mission Liao | 2018-10-11 | 1 | -4/+8 |
| | | | | | | | * Extract types.FinalizationResult * Change interface: - Application.BlockConfirmed returns whole block. - Application.BlockDelivered returns partial result. | ||||
* | core: Add block randomness in compaction-chain module (#179) | Jimmy Hu | 2018-10-08 | 1 | -8/+79 |
| | |||||
* | core: Check Witness height. Add ConsensusTime and ConsensusHeight to block. ↵ | Jimmy Hu | 2018-10-04 | 1 | -8/+4 |
| | | | | (#170) | ||||
* | core: update data model to reflect new model (#157) | Wei-Ning Huang | 2018-10-01 | 1 | -65/+0 |
| | | | | | | Update data model: 1) Remove witness ack. 2) Add round to block. 3) Update governance interface. | ||||
* | core: integrate authenticator (#150) | Mission Liao | 2018-09-30 | 1 | -21/+4 |
| | |||||
* | core: rename crypto/eth to crypto/ecdsa (#144) | Wei-Ning Huang | 2018-09-26 | 1 | -4/+4 |
| | |||||
* | crypto: sigtopub to crypto package. remove SigToPubFn (#141) | Jimmy Hu | 2018-09-26 | 1 | -1/+1 |
| | |||||
* | core: move crypto to core/crypto (#140) | Mission Liao | 2018-09-26 | 1 | -1/+1 |
| | | | | | | | | | - Move key-holder to authenticator Make core.keyHolder public as core.Authenticator, it is not required to make this part an interface. - Make private when there is no need to go public. - Fix data race | ||||
* | core: refactor witness data processing flow (#124) | Wei-Ning Huang | 2018-09-20 | 1 | -14/+14 |
| | | | | | | | | | | | Since witness data need to include data from application after it processed a block (e.g. stateRoot). We should make the process of witness data asynchronous. An interface `BlockProcessedChan()` is added to the application interface to return a channel for notifying the consensus core when a block is processed. The notification object includes a byte slice (witenss data) which will be include in the final witness data object. | ||||
* | Rename validator* to node* (#120) | Mission Liao | 2018-09-20 | 1 | -6/+6 |
| | |||||
* | core: rename Notary (Acks) to Witness (#118) | Wei-Ning Huang | 2018-09-19 | 1 | -37/+37 |
| | |||||
* | core: move blockdb into core package and minor change on governance ↵ | Wei-Ning Huang | 2018-09-17 | 1 | -1/+1 |
| | | | | | | | interface (#110) Since third party apps will possibly implement their only blockdb class, it make sense for the interface to be in core. Also add GetNumShards into the governance interface. | ||||
* | core: Notary ack (#69) | Jimmy Hu | 2018-08-21 | 1 | -55/+132 |
| | |||||
* | core: Remove notary ack. (#64) | Jimmy Hu | 2018-08-16 | 1 | -47/+53 |
| | |||||
* | core: Add compaction chain module. (#60) | Jimmy Hu | 2018-08-16 | 1 | -0/+88 |