aboutsummaryrefslogtreecommitdiffstats
path: root/core/configuration-chain.go
Commit message (Collapse)AuthorAgeFilesLines
* misc: Add gosec to check security issues (#424)Jimmy Hu2019-01-181-2/+8
| | | | | | | | * Add gosec to tools * Run security check to ci * Fix secrity issues
* core: fix ci fail (#404)Mission Liao2019-01-051-2/+1
| | | | | | * Clean DKG instance after finished * Fix CI failure by workaround....
* core: fix stuffs (#401)Mission Liao2019-01-051-0/+2
| | | | | | | * Remove block recycling mechanism * Return directly when previous DKG is not finished. * Adjust some logging level * Skip pulling when hashes to pull is empty
* core: stop leaking timer (#394)wmin02019-01-031-0/+2
|
* core: fix stuffs (#383)Mission Liao2018-12-261-2/+2
| | | | | | * Merge core.Consensus constructors * Downgrade severity of logs * Refine logic to add blocks from pool to lattice * Add test.LaunchDummyReceiver
* utils: move authenticator to utils package (#378)Mission Liao2018-12-221-2/+2
|
* core: Add a `MPKReady` so `MasterPublicKey` cannot be added afterwards (#375)Jimmy Hu2018-12-191-3/+31
| | | | | | | | | | | | | | | | * Add type DKGReady * Add DKGReady to interface and state * DKG will wait for MPK to be ready before running * Modify test * Check if self's MPK is registered * Add test for delay add MPK * Rename Ready to MPKReady
* misc: panic not ready (#374)Mission Liao2018-12-181-1/+2
| | | | | | | | | | | | | | | | * Panic when config/crs not ready For those calls to Governace.Configuration and Governance.CRS without checking returns, replace those calls with these newly added helpers: - utils.GetConfigurationWithPanic - utils.GetCRSWithPanic They would check returns, and panic directly if not ready yet. * Fix a bug that config is not ready when syncing
* core: cache dkg's private key in db (#371)Mission Liao2018-12-161-27/+76
|
* core: Fix a bug of DKGNackComplaints (#370)Jimmy Hu2018-12-141-3/+3
| | | | | | * core: Fix a bug if DKGNackComplaint is added after required time. * Duplicated NackComplaint should be only count once.
* core: fix bugs found when node-set is not equal to notary-set (#362)Mission Liao2018-12-071-13/+12
|
* core: Handle issues if DKG/CRS is already finished (#334)Jimmy Hu2018-11-181-4/+17
|
* core: Add timeout to TSig (#330)Jimmy Hu2018-11-151-1/+12
|
* utils: add utils package (#327)Mission Liao2018-11-141-2/+3
|
* core: Fix dkg and CRS signature (#294)Jimmy Hu2018-11-051-12/+51
|
* Rename repo to dexon-consensusWei-Ning Huang2018-11-021-9/+9
|
* core: Fix goroutine leaks (#270)Jimmy Hu2018-10-291-1/+7
|
* core: Move dkg in types to types/dkg. (#253)Jimmy Hu2018-10-251-6/+7
|
* core: fix uninitialized variable in configuration chain (#238)Wei-Ning Huang2018-10-221-0/+1
|
* core: initial commit for logger (#228)Mission Liao2018-10-191-8/+28
| | | | | | | | | | | | | * Replace "log.*" with logger. * Add simple logger to log with log package. * Add debug logs to all calls to these interfaces: - core.Application - core.Governance - core.Network * Add Stringer to these types: - types.DKGComplaint - types.AgreementResult - types.DKGMasterPublicKey - types.DKGFinalize
* core: Rebroadcast agreement and randomness result. (#218)Jimmy Hu2018-10-171-10/+20
|
* core: Add DKG final message. (#181)Jimmy Hu2018-10-091-1/+13
|
* core: General tsig (#177)Jimmy Hu2018-10-051-25/+27
|
* core: Export DKGGroupPublicKey and its verify function (#160)Jimmy Hu2018-10-021-4/+4
|
* core: run DKG and CRS at background. (#155)Jimmy Hu2018-10-021-9/+34
|
* test: Non-qualified node are accepted in test. (#154)Jimmy Hu2018-10-011-1/+1
|
* crypto: sigtopub to crypto package. remove SigToPubFn (#141)Jimmy Hu2018-09-261-10/+6
|
* core: move crypto to core/crypto (#140)Mission Liao2018-09-261-1/+1
| | | | | | | | | - Move key-holder to authenticator Make core.keyHolder public as core.Authenticator, it is not required to make this part an interface. - Make private when there is no need to go public. - Fix data race
* core: configuration chain test (#137)Jimmy Hu2018-09-261-4/+4
|
* core: run TSIG for first configuration block at startup (#135)Jimmy Hu2018-09-261-0/+239