Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | misc: Add gosec to check security issues (#424) | Jimmy Hu | 2019-01-18 | 1 | -2/+8 |
| | | | | | | | | * Add gosec to tools * Run security check to ci * Fix secrity issues | ||||
* | core: fix ci fail (#404) | Mission Liao | 2019-01-05 | 1 | -2/+1 |
| | | | | | | * Clean DKG instance after finished * Fix CI failure by workaround.... | ||||
* | core: fix stuffs (#401) | Mission Liao | 2019-01-05 | 1 | -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) | wmin0 | 2019-01-03 | 1 | -0/+2 |
| | |||||
* | core: fix stuffs (#383) | Mission Liao | 2018-12-26 | 1 | -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 Liao | 2018-12-22 | 1 | -2/+2 |
| | |||||
* | core: Add a `MPKReady` so `MasterPublicKey` cannot be added afterwards (#375) | Jimmy Hu | 2018-12-19 | 1 | -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 Liao | 2018-12-18 | 1 | -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 Liao | 2018-12-16 | 1 | -27/+76 |
| | |||||
* | core: Fix a bug of DKGNackComplaints (#370) | Jimmy Hu | 2018-12-14 | 1 | -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 Liao | 2018-12-07 | 1 | -13/+12 |
| | |||||
* | core: Handle issues if DKG/CRS is already finished (#334) | Jimmy Hu | 2018-11-18 | 1 | -4/+17 |
| | |||||
* | core: Add timeout to TSig (#330) | Jimmy Hu | 2018-11-15 | 1 | -1/+12 |
| | |||||
* | utils: add utils package (#327) | Mission Liao | 2018-11-14 | 1 | -2/+3 |
| | |||||
* | core: Fix dkg and CRS signature (#294) | Jimmy Hu | 2018-11-05 | 1 | -12/+51 |
| | |||||
* | Rename repo to dexon-consensus | Wei-Ning Huang | 2018-11-02 | 1 | -9/+9 |
| | |||||
* | core: Fix goroutine leaks (#270) | Jimmy Hu | 2018-10-29 | 1 | -1/+7 |
| | |||||
* | core: Move dkg in types to types/dkg. (#253) | Jimmy Hu | 2018-10-25 | 1 | -6/+7 |
| | |||||
* | core: fix uninitialized variable in configuration chain (#238) | Wei-Ning Huang | 2018-10-22 | 1 | -0/+1 |
| | |||||
* | core: initial commit for logger (#228) | Mission Liao | 2018-10-19 | 1 | -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 Hu | 2018-10-17 | 1 | -10/+20 |
| | |||||
* | core: Add DKG final message. (#181) | Jimmy Hu | 2018-10-09 | 1 | -1/+13 |
| | |||||
* | core: General tsig (#177) | Jimmy Hu | 2018-10-05 | 1 | -25/+27 |
| | |||||
* | core: Export DKGGroupPublicKey and its verify function (#160) | Jimmy Hu | 2018-10-02 | 1 | -4/+4 |
| | |||||
* | core: run DKG and CRS at background. (#155) | Jimmy Hu | 2018-10-02 | 1 | -9/+34 |
| | |||||
* | test: Non-qualified node are accepted in test. (#154) | Jimmy Hu | 2018-10-01 | 1 | -1/+1 |
| | |||||
* | crypto: sigtopub to crypto package. remove SigToPubFn (#141) | Jimmy Hu | 2018-09-26 | 1 | -10/+6 |
| | |||||
* | core: move crypto to core/crypto (#140) | Mission Liao | 2018-09-26 | 1 | -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 Hu | 2018-09-26 | 1 | -4/+4 |
| | |||||
* | core: run TSIG for first configuration block at startup (#135) | Jimmy Hu | 2018-09-26 | 1 | -0/+239 |