aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Expand)AuthorAgeFilesLines
* 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
* core: fix NotifyRoundHeight is not called when processing blocksMission Liao2018-10-311-10/+16
* core: fix lattice bugs (#274)Mission Liao2018-10-303-5/+38
* test: integrate state to gov (#275)Mission Liao2018-10-303-9/+113
* core: Create an interface for TSigVerifierCache (#273)Jimmy Hu2018-10-301-7/+24
* core: fix consensus timestamp (#272)Mission Liao2018-10-291-2/+12
* core: Add BlockSkeleton and Verify functions (#271)Jimmy Hu2018-10-296-3/+75
* core: Fix goroutine leaks (#270)Jimmy Hu2018-10-292-1/+8
* core: Do not process vote/block in agreement if it has stopped (#269)Jimmy Hu2018-10-291-4/+18
* core: Fix missing fields when cloning blocks. (#268)Mission Liao2018-10-272-4/+33
* core: Remove atomic (#266)Jimmy Hu2018-10-272-14/+11
* core: Unit test for BA sync (#265)Jimmy Hu2018-10-262-0/+86
* core: sync BA (#264)Jimmy Hu2018-10-263-19/+72
* test: clone types.Config, test.Governance, test.State (#262)Mission Liao2018-10-266-42/+608
* core: Pull block (#263)Jimmy Hu2018-10-266-32/+116
* core: Leader selector will retry sanityCheck (#261)Jimmy Hu2018-10-267-26/+117
* core: Lock entire lattice.ProcessBlock (#259)Jimmy Hu2018-10-262-2/+7
* misc: Add longer timeout for test in master (#258)Jimmy Hu2018-10-251-7/+13
* core: lattice sync (#257)Jimmy Hu2018-10-2511-98/+492
* core: handle round 0 randomness in processFinalizedBlock (#256)Jimmy Hu2018-10-252-12/+26
* test: add test.Stopper to stop by round (#255)Mission Liao2018-10-252-32/+162
* core: Move dkg in types to types/dkg. (#253)Jimmy Hu2018-10-2515-250/+265
* core: fix stuffs (#250)Mission Liao2018-10-248-50/+32
* test: Fix datarace in test (#251)Jimmy Hu2018-10-241-6/+12
* test: add test.State (#239)Mission Liao2018-10-2410-149/+1012
* core: disable nonblocking temporarily (#249)Mission Liao2018-10-242-10/+5
* core: reduce calls to Application.VerifyBlock (#247)Mission Liao2018-10-244-28/+24
* core: fix panic when proposed block is nil (#248)Mission Liao2018-10-241-0/+4
* core: Change interface of Application.VerifyBlock (#246)Jimmy Hu2018-10-236-8/+23
* Change BLS to dexon-foundation (#245)Jimmy Hu2018-10-234-4/+4
* core: notify fullnode to snapshot configs when round change. (#243)Mission Liao2018-10-231-8/+19
* core: add equality checker for dkg related structure (#237)Mission Liao2018-10-234-26/+379
* core: add round parameter to ProposeCRS method (#244)Wei-Ning Huang2018-10-234-4/+11
* 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-237-23/+136
* core: fix uninitialized variable in configuration chain (#238)Wei-Ning Huang2018-10-222-1/+2
* core: Handling self proposed DKG private share (#236)Jimmy Hu2018-10-223-27/+34
* core: total-ordering: add test TestRunFromNonGenesis (#226)Haoping Ku2018-10-223-22/+96
* crypto: dkg: implement rlp.Encoder, rlp.Decoder for PrivateKey (#235)Sonic2018-10-202-0/+26
* 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: types: implement rlp.Encoder and rlp.Decoder (#232)Sonic2018-10-206-7/+379
* core: initial commit for logger (#228)Mission Liao2018-10-199-50/+184
* misc: Fix simulation error (#230)Jimmy Hu2018-10-193-20/+30
* core: Sync from BA and test. (#224)Jimmy Hu2018-10-192-64/+199
* core: total-ordering: change early flag to mode (#227)Haoping Ku2018-10-1910-49/+64
* crypto: ecdsa: make NodeID match dexon address (#229)Sonic2018-10-193-51/+35
* core: Append all config till Initial block (#225)Jimmy Hu2018-10-181-0/+7
* core: types: implements UnmarshalJSON from DKGMasterPublicKey (#223)Wei-Ning Huang2018-10-181-0/+8
* core: total ordering flush (#212)Mission Liao2018-10-189-229/+737
* core: sync compaction chain (#222)Jimmy Hu2018-10-186-27/+391
* core: consensus-timestamp: add sync (#219)Haoping Ku2018-10-183-29/+118
* core: Add init block to Run() (#221)Jimmy Hu2018-10-185-13/+23
* core: Some sync functions (#220)Jimmy Hu2018-10-176-26/+106
* core: Rebroadcast agreement and randomness result. (#218)Jimmy Hu2018-10-173-30/+49
* core: genesis consensus timestamp (#217)Mission Liao2018-10-174-29/+45
* core: Add stop function to all components (#216)Jimmy Hu2018-10-173-28/+53
* Finalization Height starts from 1 (#215)Jimmy Hu2018-10-162-0/+7
* core: consensus-timestamp: modify for round change (#214)Haoping Ku2018-10-161-4/+12
* core: New dexon ba (#210)Jimmy Hu2018-10-168-479/+405
* core: Fix corner cases (#211)Jimmy Hu2018-10-164-2/+8
* core: set genesis block finalization timestamp to zero time (#213)Wei-Ning Huang2018-10-161-0/+2
* core: Change First round dkg timing (#209)Jimmy Hu2018-10-162-4/+6
* core: fix block confirmed is not called when Debug is not implemented. (#208)Mission Liao2018-10-162-3/+54
* core: Change threshold (#205)Jimmy Hu2018-10-151-1/+1
* core: fix timestamp marshaling (#207)Wei-Ning Huang2018-10-152-3/+3
* Remove duplicated dMoment in Consensus.Run (#206)Jimmy Hu2018-10-151-2/+4
* core: Add NodeSetCacheInterface (#203)Jimmy Hu2018-10-152-31/+42
* core: Change DKG threshold (#204)Jimmy Hu2018-10-153-6/+6
* core: Fix simulation errors. (#202)Jimmy Hu2018-10-153-34/+35
* core: fix simulation error (#201)Jimmy Hu2018-10-152-8/+13
* core: No randomness for round 0 (#198)Jimmy Hu2018-10-153-1/+45
* core: check if flush is required when round switching in total-ordering (#197)Mission Liao2018-10-156-220/+304
* core: blocks generation supports rounds (#196)Mission Liao2018-10-146-219/+445
* core: crypto: ecdsa: add method to create PrivateKey from ecdsa.PrivateKey (#...Wei-Ning Huang2018-10-131-0/+9
* core: modify interface (#194)Mission Liao2018-10-127-16/+29
* core: latticeData supports config change (#190)Mission Liao2018-10-1212-594/+799
* core: change interface (#193)Mission Liao2018-10-1117-75/+94
* core: Move BlockConfirmed to Application interface (#192)Mission Liao2018-10-113-5/+5
* core: types: fix nodeID generation (#191)Wei-Ning Huang2018-10-114-6/+10
* Fix typo in crypto (#186)Jimmy Hu2018-10-092-2/+16
* core: Add round to DKG methods in gov. Change network interface name (#185)Jimmy Hu2018-10-097-29/+39
* core: Add DKG final message. (#181)Jimmy Hu2018-10-0911-2/+140
* core: update config variable name grammar and remove configuration (#184)Wei-Ning Huang2018-10-087-62/+24
* core: Fix timestamp (#182)Jimmy Hu2018-10-082-5/+1
* core: Remove round from gov.ProposeCRS (#183)Jimmy Hu2018-10-084-7/+14
* core: Check PrivateShare in DKGComplaint (#180)Jimmy Hu2018-10-082-25/+75
* core: Add block randomness in compaction-chain module (#179)Jimmy Hu2018-10-085-32/+150
* core: Block randomness generation. (#178)Jimmy Hu2018-10-084-7/+73
* core: General tsig (#177)Jimmy Hu2018-10-0512-73/+254
* core: Add NotarySet and DKGSet to cache (#176)Jimmy Hu2018-10-053-27/+94
* types: Test block clone (#175)Jimmy Hu2018-10-052-0/+73
* core: find block in db (#174)Mission Liao2018-10-056-78/+195
* core: Use event to run DKG and CRS in Consensus. (#171)Jimmy Hu2018-10-043-46/+52
* core: Check sorted ack in sanity check (#173)Jimmy Hu2018-10-043-0/+21
* core: split lattice-data to another file (#172)Mission Liao2018-10-044-1058/+1069
* core: Check Witness height. Add ConsensusTime and ConsensusHeight to block. (...Jimmy Hu2018-10-0415-49/+125
* test: Short test applied to some long running tests (#168)Jimmy Hu2018-10-042-2/+11
* core: remove NumWitnessSet in governance config (#167)Wei-Ning Huang2018-10-032-8/+3
* core: export some crypto verification function (#166)Wei-Ning Huang2018-10-033-7/+9
* core: publish round based config (#165)Mission Liao2018-10-039-32/+145
* core: Add unit test for DKG CRS in consensus (#163)Jimmy Hu2018-10-033-4/+120
* core: Prevent duplicated nack complaint (#162)Jimmy Hu2018-10-032-1/+14
* core: remove shard (#161)Mission Liao2018-10-026-676/+613
* core: Export DKGGroupPublicKey and its verify function (#160)Jimmy Hu2018-10-023-18/+21
* core: replace reliable-broadcast with shard (#159)Mission Liao2018-10-0213-1447/+255
* core: remove ProposeThresholdSignature/GetThresholdSignature (#158)Wei-Ning Huang2018-10-023-33/+3
* core: run DKG and CRS at background. (#155)Jimmy Hu2018-10-0214-52/+134
* core: update data model to reflect new model (#157)Wei-Ning Huang2018-10-0120-571/+45
* core: check block timestamp (#156)Jimmy Hu2018-10-013-29/+73
* test: Non-qualified node are accepted in test. (#154)Jimmy Hu2018-10-014-12/+25
* core: use notarySet for BA module. (#153)Jimmy Hu2018-10-017-70/+96
* core: integrate authenticator (#150)Mission Liao2018-09-3011-191/+152
* test: tcp handshake (#151)Jimmy Hu2018-09-301-49/+175
* core: Allow more time for DKG to finish on CircleCI machine. (#152)Jimmy Hu2018-09-291-1/+1
* core: remove legacy mode (#149)Mission Liao2018-09-285-65/+42
* core: Add sizes of various nodeSets (#148)Jimmy Hu2018-09-282-6/+51
* core: hide types.NodeID from full node. (#147)Mission Liao2018-09-2815-208/+503
* types: NodeSet and Selector (#146)Jimmy Hu2018-09-272-0/+203
* core: update governance interface and config (#145)Wei-Ning Huang2018-09-275-35/+37
* core: rename crypto/eth to crypto/ecdsa (#144)Wei-Ning Huang2018-09-2613-39/+39
* core: use dexon-foundation/dexon instead of ethereum/go-ethereum (#143)Wei-Ning Huang2018-09-262-2/+2
* Fix racing (#142)Jimmy Hu2018-09-261-3/+6
* crypto: sigtopub to crypto package. remove SigToPubFn (#141)Jimmy Hu2018-09-2626-131/+150
* core: move crypto to core/crypto (#140)Mission Liao2018-09-2637-108/+1373
* Fix race (#138)Jimmy Hu2018-09-261-1/+16
* core: configuration chain test (#137)Jimmy Hu2018-09-264-5/+225
* core: run TSIG for first configuration block at startup (#135)Jimmy Hu2018-09-2611-58/+427
* core: update governance interface to consider genesis state (#136)Wei-Ning Huang2018-09-2513-80/+108
* Fix naming of methods (#134)Mission Liao2018-09-259-74/+74