aboutsummaryrefslogtreecommitdiffstats
path: root/core/consensus_test.go
Commit message (Expand)AuthorAgeFilesLines
* core: fix flaky testJimmy Hu2019-04-141-0/+7
* core: add report bad peer interface to network (#559)Jimmy Hu2019-04-121-13/+45
* core: clean TODOs (#539)Mission Liao2019-04-011-6/+5
* core: run dkg by height (#527)Jimmy Hu2019-03-291-5/+17
* core: merge notarySet and DKGSet (#488)Jimmy Hu2019-03-271-9/+4
* core: remove initRoundBeginHeight paramenterMission Liao2019-03-221-2/+2
* core: abort hang DKG (#508)Mission Liao2019-03-221-2/+2
* core: height event handlers are not called (#509)Mission Liao2019-03-221-0/+50
* core: reset DKG (#502)Mission Liao2019-03-201-1/+1
* core: snapshot DKG protocol struct when finish any phase (#496)bojie2019-03-181-0/+2
* dkg: add reset field (#492)Mission Liao2019-03-171-2/+2
* core, syncer: integrate utils.RoundEvent (#490)Mission Liao2019-03-161-1/+1
* test: prohibit dkg (#489)Mission Liao2019-03-141-2/+2
* core: recover DKG master private shares (#487)bojie2019-03-131-0/+40
* core: first few round will not have DKG (#455)Jimmy Hu2019-03-041-2/+2
* core: Change RoundInterval to RoundLength (#453)Jimmy Hu2019-02-261-1/+1
* core: switch round by block height (#450)Mission Liao2019-02-201-14/+3
* core: fix stuffs (#448)Jimmy Hu2019-02-191-0/+1
* big-bang: single chain (#446)Mission Liao2019-02-191-321/+1
* core: remove Governance.NotifyRoundHeight (#431)Mission Liao2019-01-241-1/+1
* core: Fix stuffs (#422)Jimmy Hu2019-01-181-28/+1
* syncer: fix issues when switching to core.Consensus (#418)Mission Liao2019-01-111-0/+1
* core: BA 3.0 (#408)Jimmy Hu2019-01-071-8/+4
* test: add witness preparation/verification (#386)Mission Liao2018-12-271-1/+1
* core: pull block random (#384)Jimmy Hu2018-12-261-0/+4
* utils: move authenticator to utils package (#378)Mission Liao2018-12-221-7/+8
* core: Add a `MPKReady` so `MasterPublicKey` cannot be added afterwards (#375)Jimmy Hu2018-12-191-1/+0
* db: cache compaction chain tip in db (#369)Mission Liao2018-12-131-0/+1
* db: rename blockdb to db (#367)Mission Liao2018-12-131-3/+3
* syncer: fix stuffs (#366)Mission Liao2018-12-121-5/+6
* core: Longer lambda for TravisCI (#365)Jimmy Hu2018-12-101-1/+4
* ci: Add TravisCI setting. (#363)Jimmy Hu2018-12-081-24/+48
* core: fix bugs found when node-set is not equal to notary-set (#362)Mission Liao2018-12-071-0/+1
* test: allow to log in test.State (#359)Mission Liao2018-12-061-5/+10
* core: construct consensus from syncer (#352)Mission Liao2018-12-041-1/+1
* core: Fix stuffs (#351)Jimmy Hu2018-11-301-0/+3
* core: remove StronglyAcked (#347)Mission Liao2018-11-291-9/+8
* core: support NumChains change for BA modules (#339)Mission Liao2018-11-201-17/+20
* core: Handle issues if DKG/CRS is already finished (#334)Jimmy Hu2018-11-181-1/+1
* core: expose implicit round shift (#321)Mission Liao2018-11-131-5/+5
* core: Extract VoteHeader (#313)Mission Liao2018-11-091-10/+4
* core: revert the revert for broken commit and fix (#309)Mission Liao2018-11-081-2/+2
* Revert "core: unbind global round in Consensus (#304)" (#306)Mission Liao2018-11-081-2/+2
* core: unbind global round in Consensus (#304)Mission Liao2018-11-061-2/+2
* core: reset CRS in leader selector by round (#286)Mission Liao2018-11-021-1/+1
* Rename repo to dexon-consensusWei-Ning Huang2018-11-021-11/+11
* core: core.Lattice supports config change (#276)Mission Liao2018-11-011-1/+1
* core: Add PullVotes to Network. (#281)Jimmy Hu2018-10-311-0/+4
* core: Unit test for BA sync (#265)Jimmy Hu2018-10-261-0/+73
* core: sync BA (#264)Jimmy Hu2018-10-261-0/+15
* core: Pull block (#263)Jimmy Hu2018-10-261-0/+4
* core: Move dkg in types to types/dkg. (#253)Jimmy Hu2018-10-251-5/+6
* test: Fix datarace in test (#251)Jimmy Hu2018-10-241-6/+12
* test: add test.State (#239)Mission Liao2018-10-241-22/+27
* core: disable nonblocking temporarily (#249)Mission Liao2018-10-241-1/+0
* core: initial commit for logger (#228)Mission Liao2018-10-191-2/+2
* core: total-ordering: change early flag to mode (#227)Haoping Ku2018-10-191-4/+4
* core: Add init block to Run() (#221)Jimmy Hu2018-10-181-0/+1
* core: genesis consensus timestamp (#217)Mission Liao2018-10-171-9/+16
* core: Add stop function to all components (#216)Jimmy Hu2018-10-171-21/+35
* core: Change First round dkg timing (#209)Jimmy Hu2018-10-161-0/+1
* core: Fix simulation errors. (#202)Jimmy Hu2018-10-151-1/+1
* core: fix simulation error (#201)Jimmy Hu2018-10-151-6/+11
* core: change interface (#193)Mission Liao2018-10-111-1/+1
* core: Add round to DKG methods in gov. Change network interface name (#185)Jimmy Hu2018-10-091-2/+2
* core: Add block randomness in compaction-chain module (#179)Jimmy Hu2018-10-081-0/+3
* core: General tsig (#177)Jimmy Hu2018-10-051-0/+12
* core: Use event to run DKG and CRS in Consensus. (#171)Jimmy Hu2018-10-041-5/+0
* core: Add unit test for DKG CRS in consensus (#163)Jimmy Hu2018-10-031-3/+102
* core: remove shard (#161)Mission Liao2018-10-021-1/+1
* core: replace reliable-broadcast with shard (#159)Mission Liao2018-10-021-93/+62
* core: update data model to reflect new model (#157)Wei-Ning Huang2018-10-011-4/+0
* core: check block timestamp (#156)Jimmy Hu2018-10-011-29/+54
* core: hide types.NodeID from full node. (#147)Mission Liao2018-09-281-26/+18
* core: update governance interface and config (#145)Wei-Ning Huang2018-09-271-3/+3
* crypto: sigtopub to crypto package. remove SigToPubFn (#141)Jimmy Hu2018-09-261-2/+1
* core: move crypto to core/crypto (#140)Mission Liao2018-09-261-1/+1
* core: run TSIG for first configuration block at startup (#135)Jimmy Hu2018-09-261-0/+6
* core: update governance interface to consider genesis state (#136)Wei-Ning Huang2018-09-251-3/+3
* core: add debug (#133)Mission Liao2018-09-251-31/+17
* core: run first DKG at startup. (#129)Jimmy Hu2018-09-231-0/+5
* core: add shard (#127)Mission Liao2018-09-211-18/+18
* Rename validator* to node* (#120)Mission Liao2018-09-201-55/+55
* core: rename Notary (Acks) to Witness (#118)Wei-Ning Huang2018-09-191-2/+2
* core: refine governance interface to reduce Get* methods (#114)Wei-Ning Huang2018-09-181-5/+5
* core: remove ticker parameter from NewConsensusMission Liao2018-09-181-5/+4
* core: move blockdb into core package and minor change on governance interface...Wei-Ning Huang2018-09-171-1/+1
* core: DKG interface (#108)Jimmy Hu2018-09-171-0/+5
* core: timestamp (#98)Jimmy Hu2018-09-111-3/+8
* core: Add a new structure `Position` and move `ShardID`, `ChainID` and `Heigh...Jimmy Hu2018-09-031-17/+35
* Use Network in Consensus core (#85)Jimmy Hu2018-08-311-1/+22
* core: Change the lattice key from validatorID to chainID. (#83)Jimmy Hu2018-08-301-8/+18
* simulation: add simulation with scheduler (#71)Mission Liao2018-08-211-1/+1
* core: Add a nonBlockingApplication. (#62)Jimmy Hu2018-08-151-7/+14
* core: Prepare Genesis block. (#54)Jimmy Hu2018-08-141-40/+62
* core: Sign block in Consensus.PrepareBlock. (#50)Jimmy Hu2018-08-131-1/+4
* core: Hash block in Consensus.PrepareBlock. (#46)Jimmy Hu2018-08-121-5/+11
* core: Modify Consensus interface (#45)Jimmy Hu2018-08-101-10/+10
* core: update governance interface and move K into config (#40)Wei-Ning Huang2018-08-101-3/+3
* core: Add Block.IsGenesis() and set Block.ParentHash to 0 in genesis block. (...Jimmy Hu2018-08-091-1/+1
* core: Add Consensus to replace core.Blocklattice (#35)Mission Liao2018-08-081-0/+305