Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core: Update BA to the latest version (#519) | Jimmy Hu | 2019-03-27 | 1 | -13/+13 |
| | | | | | | | | | | * core: fastPreCom should not propose fastCom in RBA * add test for fix * core: update BA * core: fix test | ||||
* | core: bring back agreement result (#515) | Jimmy Hu | 2019-03-27 | 1 | -21/+81 |
| | | | | | | | | | | * core: bring back agreement result * add logger * Fix * fixup | ||||
* | core: Remove agreement result (#514) | Jimmy Hu | 2019-03-27 | 1 | -0/+20 |
| | | | | | | | | | | | | * core: remove agreement result for round with randomness * remove agr test in syncer * fixup * remove randomness field from agreement result * modify test | ||||
* | core: merge notarySet and DKGSet (#488) | Jimmy Hu | 2019-03-27 | 1 | -3/+8 |
| | | | | | | | | | | | | | | * core: さよなら DKGSet * test logger * temporary fix before finalized * core: Sign psig on commit vote * Add syncer log * fixup | ||||
* | core: fix required vote calculations (#513) | Jimmy Hu | 2019-03-24 | 1 | -1/+1 |
| | |||||
* | core: refine DKG aborting (#512) | Mission Liao | 2019-03-23 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | * Avoid aborting the DKG protocol registered later Although that DKG protocol would be registered after 1/2 round, both of them are triggered in separated go routine and we shouldn't assuem their execution order. * Capitalize logs * Add test * Return aborted when not running * Log DKG aborting result * Remove duplicated DKG abort | ||||
* | core: fix 'failed to pre process block' message if unknown block is ↵ | Jimmy Hu | 2019-03-18 | 1 | -0/+6 |
| | | | | confirmed (#495) | ||||
* | core: switch round by block height (#450) | Mission Liao | 2019-02-20 | 1 | -2/+2 |
| | |||||
* | big-bang: single chain (#446) | Mission Liao | 2019-02-19 | 1 | -5/+5 |
| | |||||
* | core: fix closing closed channel (#445) | Jimmy Hu | 2019-02-14 | 1 | -9/+17 |
| | |||||
* | core: fast forward should close previous done() channel (#444) | Jimmy Hu | 2019-02-13 | 1 | -1/+2 |
| | | | | | | * core: fast forward faster * core: modify unit test | ||||
* | core: pullvote faster (#442) | Jimmy Hu | 2019-02-11 | 1 | -0/+3 |
| | |||||
* | core: fix lock in agreement (#439) | Jimmy Hu | 2019-02-01 | 1 | -2/+7 |
| | | | | | | | | * core: fix lock in agreement * fix * terminate leader go routine if agreement already restarted to new position | ||||
* | core: BA3.1 (#437) | Jimmy Hu | 2019-01-28 | 1 | -3/+7 |
| | | | | | | * core: BA 3.1 * core: fix test | ||||
* | core: Add vote filter (#430) | Jimmy Hu | 2019-01-24 | 1 | -5/+23 |
| | | | | | | | | | | | | * core: ignore usless vote * core: export SkipBlockHash and NullBlockHash * core: add VoteFilter * Add test * New VoteFilter for each round | ||||
* | core: optimize core (#428) | Jimmy Hu | 2019-01-23 | 1 | -15/+29 |
| | | | | | | | | | | | | | | * core: Use a channel to process ba confirmed block * change the implementation of done() to react faster * Fix restart * Wait tipRound to change * fix corner case * Check for context | ||||
* | core: Fix BA3.0 implmenetation (#426) | Jimmy Hu | 2019-01-21 | 1 | -12/+29 |
| | | | | | | | | | | | | | | | | * types: Add vote type * core: remove stateFastRollback * core: rename lockRound to lockIter * core: Implement real ba3.0 * core: Add test for confirm * Fix VoteFastCom in agreement result * lockIter will always increase | ||||
* | core: Fix stuffs (#422) | Jimmy Hu | 2019-01-18 | 1 | -0/+6 |
| | | | | | | * core: reduce syncing ba msg * core: fix checking period of agreement result | ||||
* | core: find confirmed block in pending set and candidate set (#419) | Mission Liao | 2019-01-16 | 1 | -6/+11 |
| | |||||
* | core: Fix BA3.0 (#420) | Jimmy Hu | 2019-01-15 | 1 | -5/+25 |
| | | | | | | | | | | | | | | | | | | * Add Restart to Ticker * Change pre allocated size * Return NextTime from lattice * Few hacky fixes for BA * PullVote in FastRollback state * Add shallowBlock for agreementResult * Extend period * Fixup | ||||
* | core: fix issues in consensus core (#415) | Jimmy Hu | 2019-01-10 | 1 | -7/+3 |
| | |||||
* | core: report fork (#409) | Mission Liao | 2019-01-08 | 1 | -3/+16 |
| | |||||
* | core: BA 3.0 (#408) | Jimmy Hu | 2019-01-07 | 1 | -8/+60 |
| | | | | | | | | | | | | | | * Add v3 enum * Add BA leader calculation * Fast BA * Add unittest for Fast BA * Add comment * Select leader in notarySet | ||||
* | core: Add check for vote type (#406) | Jimmy Hu | 2019-01-07 | 1 | -0/+4 |
| | |||||
* | core: remove useless branching code (#403) | wmin0 | 2019-01-07 | 1 | -11/+6 |
| | |||||
* | utils: move authenticator to utils package (#378) | Mission Liao | 2018-12-22 | 1 | -5/+6 |
| | |||||
* | core: support NumChains change for BA modules (#339) | Mission Liao | 2018-11-20 | 1 | -5/+6 |
| | |||||
* | core: Fix data race (#335) | Jimmy Hu | 2018-11-19 | 1 | -0/+2 |
| | |||||
* | core: Fix issues in syncing mode (#329) | Jimmy Hu | 2018-11-15 | 1 | -0/+8 |
| | |||||
* | core: New BA (#295) | Jimmy Hu | 2018-11-05 | 1 | -3/+5 |
| | |||||
* | core: Fix BA stuffs (#293) | Jimmy Hu | 2018-11-05 | 1 | -2/+11 |
| | |||||
* | core: Fix fork vote (#290) | Jimmy Hu | 2018-11-03 | 1 | -11/+13 |
| | |||||
* | core: reset CRS in leader selector by round (#286) | Mission Liao | 2018-11-02 | 1 | -4/+3 |
| | |||||
* | Rename repo to dexon-consensus | Wei-Ning Huang | 2018-11-02 | 1 | -7/+7 |
| | |||||
* | core: Fix various locking issues (#285) | Jimmy Hu | 2018-11-02 | 1 | -6/+16 |
| | |||||
* | core: fix possible fork vote (#283) | Jimmy Hu | 2018-11-01 | 1 | -14/+18 |
| | |||||
* | core: Add PullVotes to Network. (#281) | Jimmy Hu | 2018-10-31 | 1 | -0/+5 |
| | |||||
* | core: Do not process vote/block in agreement if it has stopped (#269) | Jimmy Hu | 2018-10-29 | 1 | -4/+18 |
| | |||||
* | core: Remove atomic (#266) | Jimmy Hu | 2018-10-27 | 1 | -5/+5 |
| | |||||
* | core: sync BA (#264) | Jimmy Hu | 2018-10-26 | 1 | -4/+17 |
| | |||||
* | core: Pull block (#263) | Jimmy Hu | 2018-10-26 | 1 | -0/+16 |
| | |||||
* | core: Add stop function to all components (#216) | Jimmy Hu | 2018-10-17 | 1 | -3/+7 |
| | |||||
* | core: New dexon ba (#210) | Jimmy Hu | 2018-10-16 | 1 | -37/+91 |
| | |||||
* | core: Fix corner cases (#211) | Jimmy Hu | 2018-10-16 | 1 | -1/+4 |
| | | | | | | * leader selector will choose smaller hash if distance to crs is the same * Set initial value of aID in BA before start | ||||
* | core: Block randomness generation. (#178) | Jimmy Hu | 2018-10-08 | 1 | -2/+3 |
| | |||||
* | core: integrate authenticator (#150) | Mission Liao | 2018-09-30 | 1 | -13/+6 |
| | |||||
* | core: remove legacy mode (#149) | Mission Liao | 2018-09-28 | 1 | -19/+14 |
| | |||||
* | core: hide types.NodeID from full node. (#147) | Mission Liao | 2018-09-28 | 1 | -6/+5 |
| | | | | | | | | | * Refine core.Governance interface - Remove types.NodeID from interface declaration. - All parameter should be round based. * Add core.NodeSetCache * Agreement accepts map of nodeID directly. * test.Transport.Peers method return public keys. | ||||
* | crypto: sigtopub to crypto package. remove SigToPubFn (#141) | Jimmy Hu | 2018-09-26 | 1 | -4/+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 | ||||
* | Rename validator* to node* (#120) | Mission Liao | 2018-09-20 | 1 | -24/+24 |
| | |||||
* | core: Fix BA Fork issues (#104) | Jimmy Hu | 2018-09-13 | 1 | -8/+29 |
| | |||||
* | misc: Polish BA. (#94) | Jimmy Hu | 2018-09-05 | 1 | -12/+16 |
| | |||||
* | core: BA-based consensus core. (#93) | Jimmy Hu | 2018-09-04 | 1 | -31/+138 |
| | |||||
* | core: Add a new structure `Position` and move `ShardID`, `ChainID` and ↵ | Jimmy Hu | 2018-09-03 | 1 | -10/+3 |
| | | | | `Height` from `Block` (#89) | ||||
* | core: Leader Selector. (#80) | Jimmy Hu | 2018-08-30 | 1 | -2/+5 |
| | |||||
* | core: Remove channel in agreement (#79) | Jimmy Hu | 2018-08-29 | 1 | -19/+13 |
| | |||||
* | core: Add agreement module (#77) | Jimmy Hu | 2018-08-29 | 1 | -0/+262 |