aboutsummaryrefslogtreecommitdiffstats
path: root/core/consensus.go
Commit message (Expand)AuthorAgeFilesLines
* test: try to mitigate flaky tests (#498)Mission Liao2019-03-181-2/+2
* dkg: add reset field (#492)Mission Liao2019-03-171-6/+5
* core, syncer: integrate utils.RoundEvent (#490)Mission Liao2019-03-161-185/+146
* core/syncer: add force sync (#468)Jimmy Hu2019-03-151-61/+80
* core: recover DKG master private shares (#487)bojie2019-03-131-1/+5
* utils: add RoundEvent (#482)Mission Liao2019-03-131-2/+2
* core: touch tsigVerifier in blockchain module (#486)Jimmy Hu2019-03-121-0/+4
* core: move some dkg utils (#476)Mission Liao2019-03-111-1/+1
* core: reduce blockrandomness message (#477)Jimmy Hu2019-03-101-0/+3
* core: fix empty parent not found (#470)Mission Liao2019-03-081-1/+9
* core: Only accept block from nodeset (#467)Jimmy Hu2019-03-071-0/+8
* core: PreparePayload/Witness for genesis block (#465)Jimmy Hu2019-03-071-5/+0
* core: touch nodeSetCache (#466)Jimmy Hu2019-03-071-0/+10
* core: only check block hash and signature for pulled baConfirmed block (#464)Jimmy Hu2019-03-061-7/+5
* core: first few round will not have DKG (#455)Jimmy Hu2019-03-041-33/+22
* core: Change RoundInterval to RoundLength (#453)Jimmy Hu2019-02-261-7/+7
* core: switch round by block height (#450)Mission Liao2019-02-201-113/+111
* core: fix stuffs (#448)Jimmy Hu2019-02-191-16/+21
* big-bang: single chain (#446)Mission Liao2019-02-191-192/+109
* core: Optimize message processing (#434)Jimmy Hu2019-01-261-41/+48
* core: Reduce rebroadcast BA result (#433)Jimmy Hu2019-01-251-3/+12
* core: reduce rand result rebroadcast (#432)Jimmy Hu2019-01-241-0/+5
* core: Add vote filter (#430)Jimmy Hu2019-01-241-1/+1
* core: remove Governance.NotifyRoundHeight (#431)Mission Liao2019-01-241-12/+5
* core: optimize core (#428)Jimmy Hu2019-01-231-13/+26
* core: fix issue (#427)Mission Liao2019-01-211-3/+0
* core: Fix stuffs (#422)Jimmy Hu2019-01-181-8/+0
* core: find confirmed block in pending set and candidate set (#419)Mission Liao2019-01-161-1/+1
* core: Fix BA3.0 (#420)Jimmy Hu2019-01-151-1/+2
* syncer: fix issues when switching to core.Consensus (#418)Mission Liao2019-01-111-10/+119
* core: fix issues in consensus core (#415)Jimmy Hu2019-01-101-6/+21
* core: panic after no blocks delivered for 1 minute (#414)Jimmy Hu2019-01-091-16/+40
* core: report fork (#409)Mission Liao2019-01-081-0/+8
* core: BA 3.0 (#408)Jimmy Hu2019-01-071-6/+9
* core: remove useless branching code (#403)wmin02019-01-071-6/+2
* core: fix stuffs (#401)Mission Liao2019-01-051-2/+5
* Fix TODO (#390)Mission Liao2019-01-021-6/+9
* core: Polish randomness (#385)Jimmy Hu2018-12-261-4/+2
* core: fix stuffs (#383)Mission Liao2018-12-261-116/+65
* core: pull block random (#384)Jimmy Hu2018-12-261-16/+40
* core: fix issues found when testing syncing. (#379)Mission Liao2018-12-241-12/+30
* core: simulation: add throughput and block event monitoring (#380)haoping-ku2018-12-221-1/+33
* utils: move authenticator to utils package (#378)Mission Liao2018-12-221-21/+21
* core: Add TODOJimmy Hu2018-12-201-0/+1
* core: Add VerifyDKGMPKReadySignature (#377)Jimmy Hu2018-12-201-1/+1
* core: deliver finalized blocks upon receiving randomness results. (#376)Mission Liao2018-12-201-9/+24
* core: Add a `MPKReady` so `MasterPublicKey` cannot be added afterwards (#375)Jimmy Hu2018-12-191-1/+11
* misc: panic not ready (#374)Mission Liao2018-12-181-34/+15
* syncer: fix stuffs (#373)Mission Liao2018-12-181-1/+6
* core: cache dkg's private key in db (#371)Mission Liao2018-12-161-3/+4
* db: cache compaction chain tip in db (#369)Mission Liao2018-12-131-7/+11
* core: check if CRS is proposed before running CRS (#368)Jimmy Hu2018-12-131-9/+12
* db: rename blockdb to db (#367)Mission Liao2018-12-131-6/+6
* syncer: fix stuffs (#366)Mission Liao2018-12-121-28/+48
* core: fix bugs found when node-set is not equal to notary-set (#362)Mission Liao2018-12-071-32/+51
* Haoping fix simulation (#356)haoping-ku2018-12-051-5/+16
* core: log the last pending block in compaction chain (#355)Mission Liao2018-12-041-2/+3
* core: Fix stuffs (#354)Jimmy Hu2018-12-041-0/+9
* core: construct consensus from syncer (#352)Mission Liao2018-12-041-39/+142
* core: Fix stuffs (#351)Jimmy Hu2018-11-301-1/+1
* core: remove finalized from compaction-chain module (#350)Mission Liao2018-11-301-33/+3
* core: syncer: add syncer (#346)haoping-ku2018-11-291-37/+2
* core: Fix stuffs (#342)Jimmy Hu2018-11-271-2/+53
* core: support NumChains change for BA modules (#339)Mission Liao2018-11-201-199/+87
* core: Block randomness will be processed again in finalized block (#338)Jimmy Hu2018-11-201-20/+4
* core, test: Fix various issues (#337)Jimmy Hu2018-11-191-1/+3
* core: Handle issues if DKG/CRS is already finished (#334)Jimmy Hu2018-11-181-33/+10
* core: Fix various syncing issue. (#331)Jimmy Hu2018-11-161-18/+25
* core: Fix issues in syncing mode (#329)Jimmy Hu2018-11-151-0/+6
* core: Fix syncing issues (#326)Jimmy Hu2018-11-141-2/+9
* utils: add utils package (#327)Mission Liao2018-11-141-3/+4
* core: Integrate totalOrdering syncer (#322)Jimmy Hu2018-11-131-0/+2
* core: expose implicit round shift (#321)Mission Liao2018-11-131-10/+5
* core: Reduce call to Application.VerifyBlock (#317)Jimmy Hu2018-11-131-2/+1
* test: add integration test (#315)Mission Liao2018-11-111-4/+0
* simulation: use test.Governacne in simulation (#311)Mission Liao2018-11-081-1/+2
* core: revert the revert for broken commit and fix (#309)Mission Liao2018-11-081-67/+78
* core: Optimize core (#307)Jimmy Hu2018-11-081-10/+34
* Revert "core: unbind global round in Consensus (#304)" (#306)Mission Liao2018-11-081-59/+57
* core: unbind global round in Consensus (#304)Mission Liao2018-11-061-57/+59
* core: Run DKG stuffs only if the node is in DKG set (#302)Jimmy Hu2018-11-061-15/+46
* core: lattice-data: fix details and add test (#299)haoping-ku2018-11-061-1/+1
* core: Fix deadlock (#298)Jimmy Hu2018-11-051-0/+9
* core: notify consensus height for genesis rounds (#296)Mission Liao2018-11-051-1/+7
* core: Fix dkg and CRS signature (#294)Jimmy Hu2018-11-051-3/+3
* core: Fix BA stuffs (#293)Jimmy Hu2018-11-051-1/+4
* core: Fix fork vote (#290)Jimmy Hu2018-11-031-4/+4
* core: reset CRS in leader selector by round (#286)Mission Liao2018-11-021-14/+10
* core: block deliver with position (#289)Mission Liao2018-11-021-1/+1
* core: Remove max block interval (#287)Jimmy Hu2018-11-021-0/+3
* Rename repo to dexon-consensusWei-Ning Huang2018-11-021-10/+10
* core: Fix various locking issues (#285)Jimmy Hu2018-11-021-17/+23
* core: fix possible fork vote (#283)Jimmy Hu2018-11-011-1/+1
* core: Add PullVotes to Network. (#281)Jimmy Hu2018-10-311-0/+6
* core: fix NotifyRoundHeight is not called when processing blocksMission Liao2018-10-311-10/+16
* core: Fix goroutine leaks (#270)Jimmy Hu2018-10-291-0/+1
* core: Unit test for BA sync (#265)Jimmy Hu2018-10-261-0/+13
* core: sync BA (#264)Jimmy Hu2018-10-261-15/+40
* core: Pull block (#263)Jimmy Hu2018-10-261-23/+65
* core: Leader selector will retry sanityCheck (#261)Jimmy Hu2018-10-261-3/+8
* core: Lock entire lattice.ProcessBlock (#259)Jimmy Hu2018-10-261-0/+4
* core: lattice sync (#257)Jimmy Hu2018-10-251-9/+6
* core: Move dkg in types to types/dkg. (#253)Jimmy Hu2018-10-251-7/+8
* core: fix stuffs (#250)Mission Liao2018-10-241-2/+2
* core: disable nonblocking temporarily (#249)Mission Liao2018-10-241-9/+5
* core: reduce calls to Application.VerifyBlock (#247)Mission Liao2018-10-241-2/+2
* core: fix panic when proposed block is nil (#248)Mission Liao2018-10-241-0/+4
* core: notify fullnode to snapshot configs when round change. (#243)Mission Liao2018-10-231-8/+19
* core: add round parameter to ProposeCRS method (#244)Wei-Ning Huang2018-10-231-2/+2
* simulation: Cache network broadcasted message (#242)Jimmy Hu2018-10-231-10/+5
* core: Change dkg timing (#241)Jimmy Hu2018-10-231-12/+17
* core: remove duplicate BroadcastRandomnessResult call (#240)Wei-Ning Huang2018-10-231-6/+1
* core: prepare empty block if null block is confirmed by BA. (#231)Jimmy Hu2018-10-231-6/+35
* core: fix uninitialized variable in configuration chain (#238)Wei-Ning Huang2018-10-221-1/+1
* core: Handling self proposed DKG private share (#236)Jimmy Hu2018-10-221-11/+22
* core: fix logging for SendDKGPrivateShare (#234)Wei-Ning Huang2018-10-201-1/+2
* Start Run() until dMoment. (#233)Jimmy Hu2018-10-201-0/+2
* core: initial commit for logger (#228)Mission Liao2018-10-191-36/+107
* core: Append all config till Initial block (#225)Jimmy Hu2018-10-181-0/+7
* core: sync compaction chain (#222)Jimmy Hu2018-10-181-1/+19
* core: Add init block to Run() (#221)Jimmy Hu2018-10-181-1/+2
* core: Some sync functions (#220)Jimmy Hu2018-10-171-4/+20
* core: Rebroadcast agreement and randomness result. (#218)Jimmy Hu2018-10-171-18/+28
* core: Add stop function to all components (#216)Jimmy Hu2018-10-171-4/+11
* core: New dexon ba (#210)Jimmy Hu2018-10-161-5/+16
* core: Change First round dkg timing (#209)Jimmy Hu2018-10-161-4/+5
* core: Change threshold (#205)Jimmy Hu2018-10-151-1/+1
* Remove duplicated dMoment in Consensus.Run (#206)Jimmy Hu2018-10-151-2/+4
* core: Change DKG threshold (#204)Jimmy Hu2018-10-151-2/+2
* core: Fix simulation errors. (#202)Jimmy Hu2018-10-151-28/+32
* core: fix simulation error (#201)Jimmy Hu2018-10-151-2/+2
* core: No randomness for round 0 (#198)Jimmy Hu2018-10-151-0/+6
* core: latticeData supports config change (#190)Mission Liao2018-10-121-8/+8
* core: change interface (#193)Mission Liao2018-10-111-6/+3
* core: Add round to DKG methods in gov. Change network interface name (#185)Jimmy Hu2018-10-091-4/+4
* core: Add DKG final message. (#181)Jimmy Hu2018-10-091-0/+9
* core: update config variable name grammar and remove configuration (#184)Wei-Ning Huang2018-10-081-5/+7
* core: Remove round from gov.ProposeCRS (#183)Jimmy Hu2018-10-081-1/+1
* core: Add block randomness in compaction-chain module (#179)Jimmy Hu2018-10-081-3/+13
* core: Block randomness generation. (#178)Jimmy Hu2018-10-081-3/+66
* core: General tsig (#177)Jimmy Hu2018-10-051-2/+61
* core: find block in db (#174)Mission Liao2018-10-051-1/+4
* core: Use event to run DKG and CRS in Consensus. (#171)Jimmy Hu2018-10-041-40/+44
* core: publish round based config (#165)Mission Liao2018-10-031-1/+1
* core: Add unit test for DKG CRS in consensus (#163)Jimmy Hu2018-10-031-0/+5
* core: remove shard (#161)Mission Liao2018-10-021-11/+11
* core: replace reliable-broadcast with shard (#159)Mission Liao2018-10-021-171/+50
* core: run DKG and CRS at background. (#155)Jimmy Hu2018-10-021-16/+71
* core: update data model to reflect new model (#157)Wei-Ning Huang2018-10-011-64/+2
* core: check block timestamp (#156)Jimmy Hu2018-10-011-0/+10
* core: use notarySet for BA module. (#153)Jimmy Hu2018-10-011-32/+36
* core: integrate authenticator (#150)Mission Liao2018-09-301-45/+31
* core: remove legacy mode (#149)Mission Liao2018-09-281-25/+9
* core: hide types.NodeID from full node. (#147)Mission Liao2018-09-281-89/+50
* core: update governance interface and config (#145)Wei-Ning Huang2018-09-271-6/+11
* crypto: sigtopub to crypto package. remove SigToPubFn (#141)Jimmy Hu2018-09-261-14/+5
* core: move crypto to core/crypto (#140)Mission Liao2018-09-261-1/+1
* core: configuration chain test (#137)Jimmy Hu2018-09-261-1/+1
* core: run TSIG for first configuration block at startup (#135)Jimmy Hu2018-09-261-42/+35
* core: update governance interface to consider genesis state (#136)Wei-Ning Huang2018-09-251-52/+70
* Fix naming of methods (#134)Mission Liao2018-09-251-3/+3
* core: add debug (#133)Mission Liao2018-09-251-15/+13
* core: run first DKG at startup. (#129)Jimmy Hu2018-09-231-21/+163
* core: add shard (#127)Mission Liao2018-09-211-9/+9
* core: refactor witness data processing flow (#124)Wei-Ning Huang2018-09-201-10/+42
* Rename validator* to node* (#120)Mission Liao2018-09-201-24/+24
* core: rename Notary (Acks) to Witness (#118)Wei-Ning Huang2018-09-191-15/+15
* core: refine governance interface to reduce Get* methods (#114)Wei-Ning Huang2018-09-181-15/+19
* core: remove ticker parameter from NewConsensusMission Liao2018-09-181-8/+6
* core: move blockdb into core package and minor change on governance interface...Wei-Ning Huang2018-09-171-8/+8
* cleanup (#109)Mission Liao2018-09-171-27/+24
* core: Fix BA Fork issues (#104)Jimmy Hu2018-09-131-16/+16
* core: replace acks with slice (#102)Mission Liao2018-09-121-1/+0
* core: types: use []byte for block Payload type (#101)Wei-Ning Huang2018-09-121-2/+2
* core: total ordering with chain ID (#100)Mission Liao2018-09-121-1/+1
* simulation: integrate test.Transport (#99)Mission Liao2018-09-111-1/+0
* core: timestamp (#98)Jimmy Hu2018-09-111-8/+3
* misc: Polish BA. (#94)Jimmy Hu2018-09-051-5/+6
* core: BA-based consensus core. (#93)Jimmy Hu2018-09-041-27/+220
* core: Add a new structure `Position` and move `ShardID`, `ChainID` and `Heigh...Jimmy Hu2018-09-031-6/+10
* Add methods to Application interface. (#86)Jimmy Hu2018-08-311-0/+1
* Use Network in Consensus core (#85)Jimmy Hu2018-08-311-0/+94
* core: Add PreparePayloads to Application and Remove blockConverter interface....Jimmy Hu2018-08-301-13/+8
* core: Change the lattice key from validatorID to chainID. (#83)Jimmy Hu2018-08-301-0/+1
* core: tune total ordering performance (#81)Mission Liao2018-08-301-1/+5
* core: tune performance (#73)Mission Liao2018-08-281-0/+4
* core: Add vote type and add field to block. (#76)Jimmy Hu2018-08-281-0/+5
* core: Notary ack application. (#70)Jimmy Hu2018-08-221-0/+4
* core: Notary ack (#69)Jimmy Hu2018-08-211-35/+13
* core: NotaryAck interfaces. (#67)Jimmy Hu2018-08-201-6/+22
* core: Remove notary ack. (#64)Jimmy Hu2018-08-161-22/+25
* Verify consensus info and the acking's signature (#63)Jimmy Hu2018-08-161-3/+29
* core: Add compaction chain module. (#60)Jimmy Hu2018-08-161-0/+9
* core: Add a nonBlockingApplication. (#62)Jimmy Hu2018-08-151-1/+1
* core: Prepare Genesis block. (#54)Jimmy Hu2018-08-141-8/+45
* core: Sign block in Consensus.PrepareBlock. (#50)Jimmy Hu2018-08-131-2/+33
* core: Hash block in Consensus.PrepareBlock. (#46)Jimmy Hu2018-08-121-0/+22
* core: Modify Consensus interface (#45)Jimmy Hu2018-08-101-3/+21
* core: update governance interface and move K into config (#40)Wei-Ning Huang2018-08-101-5/+2
* core: Deliver only Hash to Application. (#43)Jimmy Hu2018-08-101-2/+6
* core: Add Consensus to replace core.Blocklattice (#35)Mission Liao2018-08-081-0/+130