aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* core: add debug (#133)Mission Liao2018-09-2511-174/+169
* core: add key holder (#130)Mission Liao2018-09-253-0/+220
* core: Fix random test failure (#131)Jimmy Hu2018-09-251-1/+1
* core: run first DKG at startup. (#129)Jimmy Hu2018-09-239-40/+239
* core: add shard (#127)Mission Liao2018-09-215-29/+423
* test: fix block generator (#126)Mission Liao2018-09-216-76/+99
* core: add anti-complaint and nack-complaint to dkg protocol (#123)Jimmy Hu2018-09-214-35/+282
* core: refactor witness data processing flow (#124)Wei-Ning Huang2018-09-209-33/+118
* core: add blockpool (#121)Mission Liao2018-09-205-22/+190
* core: add blocklattice (#117)Mission Liao2018-09-202-0/+992
* Rename validator* to node* (#120)Mission Liao2018-09-2042-916/+919
* core: Add dkg test (#119)Jimmy Hu2018-09-191-0/+194
* core: rename Notary (Acks) to Witness (#118)Wei-Ning Huang2018-09-1915-218/+218
* core: Nack Complaint (#116)Jimmy Hu2018-09-192-11/+83
* core:DKG and TSIG protocol (#115)Jimmy Hu2018-09-195-5/+698
* core: refine governance interface to reduce Get* methods (#114)Wei-Ning Huang2018-09-186-93/+88
* core: remove ticker parameter from NewConsensusMission Liao2018-09-185-34/+97
* core: move blockdb into core package and minor change on governance interface...Wei-Ning Huang2018-09-1720-24/+674
* core: DKG interface (#108)Jimmy Hu2018-09-174-0/+102
* cleanup (#109)Mission Liao2018-09-172-53/+24
* core: Fix BA Fork issues (#104)Jimmy Hu2018-09-134-69/+49
* core: fix VerifyPayload argument (#103)Wei-Ning Huang2018-09-134-4/+4
* core: replace acks with slice (#102)Mission Liao2018-09-1212-237/+154
* core: types: use []byte for block Payload type (#101)Wei-Ning Huang2018-09-127-19/+16
* core: total ordering with chain ID (#100)Mission Liao2018-09-125-414/+363
* simulation: integrate test.Transport (#99)Mission Liao2018-09-113-33/+115
* core: timestamp (#98)Jimmy Hu2018-09-1111-356/+170
* test: add transport layer (#97)Mission Liao2018-09-105-0/+1142
* misc: Polish BA. (#94)Jimmy Hu2018-09-055-31/+36
* core: BA-based consensus core. (#93)Jimmy Hu2018-09-0410-103/+592
* Add GetChainNumber to Goverance (#92)Jimmy Hu2018-09-032-0/+8
* core: minor change to governance interface (#90)Wei-Ning Huang2018-09-034-62/+30
* core: Add a new structure `Position` and move `ShardID`, `ChainID` and `Heigh...Jimmy Hu2018-09-0320-215/+411
* Fix VerifyPayloads in nonBlockingApplication (#87)Jimmy Hu2018-08-311-1/+1
* Add methods to Application interface. (#86)Jimmy Hu2018-08-315-0/+45
* Use Network in Consensus core (#85)Jimmy Hu2018-08-312-1/+116
* core: Add PreparePayloads to Application and Remove blockConverter interface....Jimmy Hu2018-08-3010-66/+57
* core: Change the lattice key from validatorID to chainID. (#83)Jimmy Hu2018-08-305-97/+176
* core: tune total ordering performance (#81)Mission Liao2018-08-309-443/+592
* Copy block (#82)Jimmy Hu2018-08-301-0/+2
* core: Leader Selector. (#80)Jimmy Hu2018-08-309-23/+287
* core: Remove channel in agreement (#79)Jimmy Hu2018-08-293-172/+111
* crypto test for vote (#78)Jimmy Hu2018-08-291-0/+18
* core: Add agreement module (#77)Jimmy Hu2018-08-294-0/+1086
* core: tune performance (#73)Mission Liao2018-08-285-155/+489
* core: Add vote type and add field to block. (#76)Jimmy Hu2018-08-284-4/+115
* core: Notary ack application. (#70)Jimmy Hu2018-08-225-0/+58
* simulation: add simulation with scheduler (#71)Mission Liao2018-08-216-41/+76
* core: Notary ack (#69)Jimmy Hu2018-08-2110-186/+381
* core: tune performance total ordering (#66)Mission Liao2018-08-214-386/+577
* core: NotaryAck interfaces. (#67)Jimmy Hu2018-08-2010-67/+132
* core: implicit fields in types.Block used in reliable broadcast (#59)Haoping Ku2018-08-173-66/+83
* core: Remove notary ack. (#64)Jimmy Hu2018-08-168-168/+197
* Verify consensus info and the acking's signature (#63)Jimmy Hu2018-08-161-3/+29
* core: Add compaction chain module. (#60)Jimmy Hu2018-08-166-18/+188
* test: add test.Scheduler (#58)Mission Liao2018-08-158-5/+711
* core: Add a nonBlockingApplication. (#62)Jimmy Hu2018-08-154-8/+238
* test: refine test utility (#61)Mission Liao2018-08-156-49/+307
* core: Prepare Genesis block. (#54)Jimmy Hu2018-08-144-53/+121
* remove cpu.prof (#57)Jimmy Hu2018-08-141-0/+0
* Add -cpuprofile and -memprofile to dexcon-simulation (#56)Jimmy Hu2018-08-141-0/+0
* test: Fix a bug in test. (#55)Jimmy Hu2018-08-141-0/+1
* core: add nack module (#41)Haoping Ku2018-08-135-113/+605
* core: Sign block in Consensus.PrepareBlock. (#50)Jimmy Hu2018-08-135-13/+43
* core: ValidatorID.Hash is the hash of public key. (#49)Jimmy Hu2018-08-131-0/+7
* core: Hash block in Consensus.PrepareBlock. (#46)Jimmy Hu2018-08-128-70/+162
* core: reliable-broadcast: delete old blocks (#47)Haoping Ku2018-08-102-3/+13
* core: Modify Consensus interface (#45)Jimmy Hu2018-08-105-18/+46
* core: update governance interface and move K into config (#40)Wei-Ning Huang2018-08-106-40/+83
* Fix the bug preventing us from testing large group when using TCP-Local (#42)Mission Liao2018-08-102-8/+1
* core: Deliver only Hash to Application. (#43)Jimmy Hu2018-08-103-11/+9
* core: Add block hash signature functions in core/ctypto.go. (#39)Jimmy Hu2018-08-104-10/+174
* core: Add Block.IsGenesis() and set Block.ParentHash to 0 in genesis block. (...Jimmy Hu2018-08-098-109/+106
* core: Add Consensus to replace core.Blocklattice (#35)Mission Liao2018-08-0816-1201/+868
* crypto: Add crypto module. (#34)Jimmy Hu2018-08-086-14/+210
* simulation: Show internal and external timestamp latency. (#30)Jimmy Hu2018-08-071-0/+11
* Rename names of struct and filesMission Liao2018-08-066-392/+392
* test: random blocks generator (#26)Mission Liao2018-08-039-6/+958
* core: DEXON Consensus Timestamp Algorithm. (#29)Jimmy Hu2018-08-033-10/+369
* core: make acking module implicit (#28)Haoping Ku2018-08-012-46/+46
* core: fix decimal package import (#27)Wei-Ning Huang2018-08-011-1/+1
* core: refine Application interface and add Governance interface (#24)Wei-Ning Huang2018-07-315-9/+77
* blockdb: allow to dump blocks to json-encoded fileMission Liao2018-07-311-1/+3
* Add new sorting method for blocksMission Liao2018-07-312-0/+65
* Implement DEXON total ordering algorithm (#16)Mission Liao2018-07-302-0/+1396
* Add acking module (#13)Haoping Ku2018-07-305-24/+759
* Verify the Total Ordering Algorithm in peerServer in tcp mode (#11)Jimmy Hu2018-07-261-35/+0
* Fix blocklattice_test.go's ordering check (#15)Haoping Ku2018-07-241-2/+6
* Implement blockdb levelDB backend (#6)Mission Liao2018-07-221-0/+1
* Implement simulation on a real network (#5)Wei-Ning Huang2018-07-206-86/+48
* core: refactor acking relationship (#3)Wei-Ning Huang2018-07-183-166/+135
* Fix typos and add .gitignore (#2)Haoping Ku2018-07-174-5/+5
* Initial implementation of DEXON consensus algorithmWei-Ning Huang2018-07-169-0/+1396