aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Expand)AuthorAgeFilesLines
* Update import pathWei-Ning Huang2019-06-2381-297/+297
* core: optimize dkg protocol (#582)Jimmy Hu2019-05-061-2/+17
* core: optimize syncer handling agreement result (#581)Jimmy Hu2019-05-034-31/+18
* core: fix test (#579)Jimmy Hu2019-04-251-1/+1
* core: fix dkg complaint handling (#578)Jimmy Hu2019-04-252-6/+9
* core: change log level (#577)Jimmy Hu2019-04-241-2/+2
* core: prevent vote being filtered (#576)Jimmy Hu2019-04-221-1/+2
* utils: fix logic to trigger round events (#575)Mission Liao2019-04-193-53/+51
* core: optimize handling for bad block (#574)Jimmy Hu2019-04-154-31/+62
* core: add whether to report to VerifyPSig (#572)Jimmy Hu2019-04-155-14/+21
* core: start next BA only when previous block delivered (#571)Jimmy Hu2019-04-154-5/+19
* core: Add DKGSuccess (#569)Jimmy Hu2019-04-1517-22/+311
* core: fix rebroadcast anti nack complaint (#570)Jimmy Hu2019-04-151-2/+5
* core: fix flaky testJimmy Hu2019-04-141-0/+7
* core: add log to verify psigJimmy Hu2019-04-131-0/+10
* core: add report bad peer interface to network (#559)Jimmy Hu2019-04-1212-55/+178
* Remove this purge, it's done in Consensus (#566)Mission Liao2019-04-111-3/+0
* core: fix false alarm (#564)Jimmy Hu2019-04-114-25/+53
* core: change CRSSignature with bls (#563)Jimmy Hu2019-04-1111-85/+104
* dkg: first part of change to BLS12_381 (#561)Sonic2019-04-111-1/+1
* core: add reset to db.PutDKGPrivateKey (#560)Jimmy Hu2019-04-106-53/+78
* core: try to recover dkg private key from db (#558)Jimmy Hu2019-04-101-20/+42
* core: syncer: fix force sync (#556)Jimmy Hu2019-04-093-4/+18
* core: priority process self message (#557)Jimmy Hu2019-04-091-5/+17
* core: remove payload from reportForkBlock (#555)Jimmy Hu2019-04-093-2/+17
* core: refine VerifyAgreementResult (#553)Mission Liao2019-04-084-18/+31
* core: run TSig forever when ForceSync (#554)Jimmy Hu2019-04-083-9/+12
* core: filter vote if already processed (#552)Jimmy Hu2019-04-083-1/+21
* core, core: crypto: dkg: fix concurrent access bug (#551)Jimmy Hu2019-04-063-10/+36
* core: do nothing if not in notary set (#549)Jimmy Hu2019-04-041-0/+8
* core/crypto/dkg: concurrent access for gpk (#548)Jimmy Hu2019-04-0413-43/+132
* core: add benchmarkJimmy Hu2019-04-031-8/+50
* core: prepare signer and npk (#545)Jimmy Hu2019-04-031-6/+22
* core: syncer: add deliver pending blocks (#546)Jimmy Hu2019-04-031-0/+31
* core: fix disqualified (#544)Jimmy Hu2019-04-022-2/+2
* Fix oops (#543)Mission Liao2019-04-021-1/+1
* core: optimize message handle (#542)Jimmy Hu2019-04-026-38/+129
* core: only qualified nodes can participant BA (#540)Jimmy Hu2019-04-027-77/+104
* core: fix 'round not change' bug in receiver (#538)Jimmy Hu2019-04-023-91/+45
* core: expose CalcQualifyNodes function (#541)Wei-Ning Huang2019-04-011-3/+4
* core: clean TODOs (#539)Mission Liao2019-04-0127-633/+599
* core: touch node cache even in reset (#537)Jimmy Hu2019-04-011-3/+0
* core: Fix invalid block height when triggering init round event (#533)Mission Liao2019-03-292-20/+2
* syncer: confirmed block without randomness (#532)Mission Liao2019-03-291-4/+8
* core: run dkg by height (#527)Jimmy Hu2019-03-294-73/+180
* core: reset DKG if to less qualified nodes (#528)Jimmy Hu2019-03-293-5/+14
* core: fix issues (#525)Mission Liao2019-03-283-15/+20
* core: workaround for GetRoundHeight (#526)Jimmy Hu2019-03-283-3/+18
* core: add log for restarting BA (#524)Jimmy Hu2019-03-283-0/+8
* core: workaround for GetRoundHeight (#523)Jimmy Hu2019-03-273-4/+8
* core: fix issues (#522)Jimmy Hu2019-03-273-11/+23
* core: Update BA to the latest version (#519)Jimmy Hu2019-03-275-74/+59
* core: sign block hash for empty block (#517)Jimmy Hu2019-03-274-15/+241
* core: bring back agreement result (#515)Jimmy Hu2019-03-277-76/+230
* core: Remove agreement result (#514)Jimmy Hu2019-03-2711-232/+426
* core: merge notarySet and DKGSet (#488)Jimmy Hu2019-03-2732-850/+387
* core: fix required vote calculations (#513)Jimmy Hu2019-03-243-2/+5
* core: refine DKG aborting (#512)Mission Liao2019-03-237-37/+76
* core: remove initRoundBeginHeight paramenterMission Liao2019-03-229-91/+85
* core: abort hang DKG (#508)Mission Liao2019-03-2210-116/+152
* core: fix PrivateShares RLP decode/encode bug (#510)bojie2019-03-222-5/+62
* core: height event handlers are not called (#509)Mission Liao2019-03-226-99/+150
* core: fix DKGProtocolInfo RLP decode/encode bug (#505)bojie2019-03-202-8/+133
* core: reset DKG (#502)Mission Liao2019-03-2016-41/+233
* core: remove round from addDKG fuction (#501)Jimmy Hu2019-03-197-52/+38
* core: abort hang dkg (#500)Mission Liao2019-03-193-58/+231
* core/syncer: fix a bug in ForceSync (#499)Jimmy Hu2019-03-181-5/+8
* core: snapshot DKG protocol struct when finish any phase (#496)bojie2019-03-189-159/+552
* test: try to mitigate flaky tests (#498)Mission Liao2019-03-184-6/+15
* test: fix data race (#497)bojie2019-03-181-9/+17
* core: fix 'failed to pre process block' message if unknown block is confirmed...Jimmy Hu2019-03-181-0/+6
* dkg: add reset field (#492)Mission Liao2019-03-1713-140/+483
* core: add GetRoundHeight interface (#493)Wei-Ning Huang2019-03-172-0/+8
* syncer: watchcat: move timeout config to constructor (#494)Wei-Ning Huang2019-03-162-11/+15
* core, syncer: integrate utils.RoundEvent (#490)Mission Liao2019-03-1611-349/+444
* core/syncer: add force sync (#468)Jimmy Hu2019-03-154-63/+119
* core/syncer: rename terminator to watchcat (#491)Jimmy Hu2019-03-152-54/+61
* core: Add Recovery Interface (#463)Jimmy Hu2019-03-153-0/+269
* test: prohibit dkg (#489)Mission Liao2019-03-148-19/+299
* core: recover DKG master private shares (#487)bojie2019-03-1310-16/+255
* utils: add RoundEvent (#482)Mission Liao2019-03-138-76/+496
* core: touch tsigVerifier in blockchain module (#486)Jimmy Hu2019-03-121-0/+4
* core: recoverDKGInfo return partial result (#485)Jimmy Hu2019-03-121-21/+46
* core/syncer: fix syncer deadlock (#479)Mission Liao2019-03-121-20/+24
* core: split GroupPublicKey and NodePublicKeys (#484)Jimmy Hu2019-03-125-74/+220
* core: move some dkg utils (#476)Mission Liao2019-03-119-173/+174
* core: reduce blockrandomness message (#477)Jimmy Hu2019-03-103-14/+44
* core: check if self's privateShare match MPK registered (#474)Jimmy Hu2019-03-102-0/+168
* syncer: avoid attacked by older AgreementResult when syncing (#471)Mission Liao2019-03-081-0/+8
* core: fix empty parent not found (#470)Mission Liao2019-03-083-22/+61
* core/utils: fix verifyDKGComplaint bug (#472)Jimmy Hu2019-03-082-3/+3
* core: Only accept block from nodeset (#467)Jimmy Hu2019-03-071-0/+8
* core: PreparePayload/Witness for genesis block (#465)Jimmy Hu2019-03-072-5/+14
* core: touch nodeSetCache (#466)Jimmy Hu2019-03-073-0/+36
* core: only check block hash and signature for pulled baConfirmed block (#464)Jimmy Hu2019-03-061-7/+5
* dkg: no need to rlp encode/decode cache related data (#462)Sonic2019-03-052-47/+12
* core: first few round will not have DKG (#455)Jimmy Hu2019-03-0414-88/+95
* core: resetDKG interface (#461)Jimmy Hu2019-03-045-18/+129
* core: fix panic by duplicated pending blocks (#460)Mission Liao2019-02-272-2/+9
* syncer: fix syncer panic (#456)Mission Liao2019-02-273-3/+127
* core: Change RoundInterval to RoundLength (#453)Jimmy Hu2019-02-2612-33/+33
* core: remove acks (#451)Mission Liao2019-02-228-76/+11
* core: switch round by block height (#450)Mission Liao2019-02-2030-577/+389
* core: fix stuffs (#448)Jimmy Hu2019-02-193-16/+26
* big-bang: single chain (#446)Mission Liao2019-02-1952-10320/+1649
* core: change pull vote position (#449)Jimmy Hu2019-02-191-6/+6
* integration_test: Add a byzantine test (#447)Jimmy Hu2019-02-152-12/+12
* core: fix closing closed channel (#445)Jimmy Hu2019-02-141-9/+17
* core: polish dkg for recovery (#443)Jimmy Hu2019-02-133-5/+16
* core: fast forward should close previous done() channel (#444)Jimmy Hu2019-02-132-1/+14
* core: pullvote faster (#442)Jimmy Hu2019-02-111-0/+3
* core: Fix rlp encode/decode for DKGComplaint. (#441)Jimmy Hu2019-02-093-1/+144
* core: fix lock in agreement (#439)Jimmy Hu2019-02-011-2/+7
* core: BA3.1 (#437)Jimmy Hu2019-01-282-5/+9
* core: fix DKG bug (#435)Jimmy Hu2019-01-271-0/+1
* core: Optimize message processing (#434)Jimmy Hu2019-01-263-117/+134
* core: Reduce rebroadcast BA result (#433)Jimmy Hu2019-01-252-3/+36
* core: reduce rand result rebroadcast (#432)Jimmy Hu2019-01-242-0/+18
* core: Add vote filter (#430)Jimmy Hu2019-01-249-30/+214
* core: remove Governance.NotifyRoundHeight (#431)Mission Liao2019-01-249-41/+44
* core: optimize core (#428)Jimmy Hu2019-01-235-71/+169
* core: fix issue (#427)Mission Liao2019-01-212-10/+12
* core: Fix BA3.0 implmenetation (#426)Jimmy Hu2019-01-217-58/+67
* misc: Add gosec to check security issues (#424)Jimmy Hu2019-01-187-14/+42
* core: Fix stuffs (#422)Jimmy Hu2019-01-186-37/+107
* core: Fix syncing BA issues (#421)Jimmy Hu2019-01-171-6/+13
* core: find confirmed block in pending set and candidate set (#419)Mission Liao2019-01-165-31/+74
* core: Fix BA3.0 (#420)Jimmy Hu2019-01-1512-58/+144
* syncer: fix issues when switching to core.Consensus (#418)Mission Liao2019-01-118-65/+269
* core: fix issues in consensus core (#415)Jimmy Hu2019-01-103-17/+31
* simulation: fix k8s dmoment issue (#416)Jimmy Hu2019-01-094-14/+72
* core: panic after no blocks delivered for 1 minute (#414)Jimmy Hu2019-01-091-16/+40
* syncer: skip error (#412)Mission Liao2019-01-081-0/+4
* simulation: fix k8s simulation stuff (#410)Jimmy Hu2019-01-081-2/+2
* core: fix ci fail (#411)Mission Liao2019-01-082-12/+12
* core: report fork (#409)Mission Liao2019-01-085-15/+89
* sync: Verify randomness result before caching them. (#392)Mission Liao2019-01-081-9/+34
* core: BA 3.0 (#408)Jimmy Hu2019-01-0712-55/+401
* sync: add log for syncer to debug hanging issue (#407)Mission Liao2019-01-072-76/+143
* core: Add check for vote type (#406)Jimmy Hu2019-01-071-0/+4
* simulation: Fix simulation stuffs (#405)Jimmy Hu2019-01-071-0/+8
* core: remove useless branching code (#403)wmin02019-01-077-80/+29
* core: fix ci fail (#404)Mission Liao2019-01-051-2/+1
* core: add fork reporting interface to governance (#402)Wei-Ning Huang2019-01-052-0/+14
* core: fix stuffs (#401)Mission Liao2019-01-056-35/+17
* test: allow empty change request (#398)Jimmy Hu2019-01-042-16/+3
* core: expose HashVote function for test (#400)Wei-Ning Huang2019-01-044-8/+9
* core: syncer: safe spawn go routine (#399)wmin02019-01-042-10/+6
* core: Change target of each nodeset (#397)Jimmy Hu2019-01-041-13/+17
* core: check if deliverable for each added block in total ordering (#395)Mission Liao2019-01-044-74/+110
* core: agreement mgr safe spawn go routine (#396)wmin02019-01-041-4/+10
* core/utils: Add Penalty checker and VerifyDKGComplaint (#393)Jimmy Hu2019-01-046-5/+519
* core: stop leaking timer (#394)wmin02019-01-031-0/+2
* simulation: add latency for gossip (#389)Mission Liao2019-01-037-179/+191
* core: Refine message of lattice (#391)Jimmy Hu2019-01-031-1/+2
* Fix TODO (#390)Mission Liao2019-01-021-6/+9
* sync: fix panic (#388)Mission Liao2018-12-281-32/+47
* sync: filter duplicated randomness (#387)Mission Liao2018-12-281-12/+34
* Fix: consensusTimestamp panic when numChains increased at round 1(#382)Mission Liao2018-12-272-0/+21
* test: add witness preparation/verification (#386)Mission Liao2018-12-273-31/+195
* core: Polish randomness (#385)Jimmy Hu2018-12-262-4/+10
* core: fix stuffs (#383)Mission Liao2018-12-267-130/+109
* core: pull block random (#384)Jimmy Hu2018-12-266-55/+206
* simulation: support config change (#381)Mission Liao2018-12-262-33/+60
* core: fix issues found when testing syncing. (#379)Mission Liao2018-12-244-28/+78
* core: simulation: add throughput and block event monitoring (#380)haoping-ku2018-12-222-24/+138
* utils: move authenticator to utils package (#378)Mission Liao2018-12-2232-597/+486
* core: Add TODOJimmy Hu2018-12-201-0/+1
* core: Add VerifyDKGMPKReadySignature (#377)Jimmy Hu2018-12-203-1/+30
* core: deliver finalized blocks upon receiving randomness results. (#376)Mission Liao2018-12-206-21/+47
* core: Add a `MPKReady` so `MasterPublicKey` cannot be added afterwards (#375)Jimmy Hu2018-12-1916-10/+406
* misc: panic not ready (#374)Mission Liao2018-12-188-50/+103
* syncer: fix stuffs (#373)Mission Liao2018-12-182-47/+77
* test: check causality (#372)Mission Liao2018-12-174-7/+101
* core: cache dkg's private key in db (#371)Mission Liao2018-12-1611-45/+306
* core: Fix a bug of DKGNackComplaints (#370)Jimmy Hu2018-12-144-7/+133
* db: cache compaction chain tip in db (#369)Mission Liao2018-12-1310-75/+281
* 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-1322-380/+385
* syncer: fix stuffs (#366)Mission Liao2018-12-126-72/+153
* core: Longer lambda for TravisCI (#365)Jimmy Hu2018-12-102-1/+16
* ci: Add TravisCI setting. (#363)Jimmy Hu2018-12-082-46/+122
* core: fix bugs found when node-set is not equal to notary-set (#362)Mission Liao2018-12-077-62/+106
* ci: some change to circleci (#360)Jimmy Hu2018-12-062-3/+3
* test: allow to log in test.State (#359)Mission Liao2018-12-0611-52/+120
* Haoping fix simulation (#356)haoping-ku2018-12-054-6/+31
* core: fix agreement sync issue. (#358)Jimmy Hu2018-12-051-2/+3
* core: syncer: fix round finding process (#357)haoping-ku2018-12-051-3/+3
* core: log the last pending block in compaction chain (#355)Mission Liao2018-12-043-20/+25
* core: Fix stuffs (#354)Jimmy Hu2018-12-042-2/+11
* core: construct consensus from syncer (#352)Mission Liao2018-12-045-63/+225
* core: Fix stuffs (#351)Jimmy Hu2018-11-303-2/+10
* core: remove finalized from compaction-chain module (#350)Mission Liao2018-11-303-345/+57
* test: Fix for state (#349)Jimmy Hu2018-11-291-3/+23
* core: syncer: add syncer (#346)haoping-ku2018-11-2915-118/+1034
* core: remove StronglyAcked (#347)Mission Liao2018-11-298-90/+39
* core: Fix stuffs (#342)Jimmy Hu2018-11-276-160/+124
* core: support NumChains change for BA modules (#339)Mission Liao2018-11-2012-317/+659
* core: Add function alias (#341)Jimmy Hu2018-11-201-0/+4
* core: Block randomness will be processed again in finalized block (#338)Jimmy Hu2018-11-203-78/+165
* core, test: Fix various issues (#337)Jimmy Hu2018-11-192-2/+4
* core: Fix data race (#335)Jimmy Hu2018-11-191-0/+2
* core: Handle issues if DKG/CRS is already finished (#334)Jimmy Hu2018-11-183-38/+28
* core: Fix various syncing issue. (#331)Jimmy Hu2018-11-164-19/+32
* core: Add timeout to TSig (#330)Jimmy Hu2018-11-152-1/+49
* test: fix network (#328)Mission Liao2018-11-154-81/+181
* core: Fix issues in syncing mode (#329)Jimmy Hu2018-11-153-0/+32
* core: Fix syncing issues (#326)Jimmy Hu2018-11-141-2/+9
* utils: add utils package (#327)Mission Liao2018-11-147-25/+18
* core: sync logger with dex (#325)Mission Liao2018-11-145-9/+11
* core: Integrate totalOrdering syncer (#322)Jimmy Hu2018-11-132-21/+29
* core: expose implicit round shift (#321)Mission Liao2018-11-1313-55/+54
* core: Fix data race. (#320)Jimmy Hu2018-11-131-6/+8
* core: Fix data race (#319)Jimmy Hu2018-11-131-0/+4
* core: Reduce call to Application.VerifyBlock (#317)Jimmy Hu2018-11-134-12/+61
* core: lattice: fix test (#316)haoping-ku2018-11-121-1/+1
* test: add integration test (#315)Mission Liao2018-11-114-13/+51
* test: implement pulling in network layer (#314)Mission Liao2018-11-094-43/+580
* core: Extract VoteHeader (#313)Mission Liao2018-11-097-61/+45
* core: consensus-timestamp: add comments (#312)haoping-ku2018-11-092-26/+39
* simulation: use test.Governacne in simulation (#311)Mission Liao2018-11-087-41/+126
* core: Fix panic (#310)Jimmy Hu2018-11-081-4/+11
* core: lattice, total-ordering: remove newGenesisConfig (#308)haoping-ku2018-11-087-159/+117
* core: revert the revert for broken commit and fix (#309)Mission Liao2018-11-082-69/+80
* core: Optimize core (#307)Jimmy Hu2018-11-086-32/+60
* Revert "core: unbind global round in Consensus (#304)" (#306)Mission Liao2018-11-082-61/+59
* test: make StateChangeRequest broadcast-able (#305)Mission Liao2018-11-075-278/+445
* core: lattice: add round in NewLattice() (#303)haoping-ku2018-11-073-9/+10
* core: unbind global round in Consensus (#304)Mission Liao2018-11-062-59/+61
* core: Run DKG stuffs only if the node is in DKG set (#302)Jimmy Hu2018-11-069-26/+109
* core: lattice-data: fix details and add test (#299)haoping-ku2018-11-066-152/+167
* core: Fix deadlock (#298)Jimmy Hu2018-11-051-0/+9
* test: move simulation.network to test package (#297)Mission Liao2018-11-052-0/+440
* core: notify consensus height for genesis rounds (#296)Mission Liao2018-11-056-7/+47
* core: Fix dkg and CRS signature (#294)Jimmy Hu2018-11-054-19/+68
* core: New BA (#295)Jimmy Hu2018-11-052-5/+7
* core: Fix BA stuffs (#293)Jimmy Hu2018-11-052-3/+15
* core: Copy witness for empty block (#292)Jimmy Hu2018-11-051-0/+3
* core: Fix fork vote (#290)Jimmy Hu2018-11-033-16/+18
* core: total-ordering: fix details and add sync test (#288)Haoping Ku2018-11-023-309/+401
* core: reset CRS in leader selector by round (#286)Mission Liao2018-11-027-34/+28
* core: block deliver with position (#289)Mission Liao2018-11-028-19/+24
* core: Remove max block interval (#287)Jimmy Hu2018-11-0213-77/+35
* Rename repo to dexon-consensusWei-Ning Huang2018-11-0289-682/+682
* core: Fix various locking issues (#285)Jimmy Hu2018-11-023-24/+40
* core: Total Ordering syncer (#277)Jimmy Hu2018-11-012-0/+485
* core: core.Lattice supports config change (#276)Mission Liao2018-11-016-30/+54
* core: fix possible fork vote (#283)Jimmy Hu2018-11-012-15/+19
* core: Add PullVotes to Network. (#281)Jimmy Hu2018-10-317-71/+64
* core: Add a repeat vote state. (#280)Jimmy Hu2018-10-313-12/+105