Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core: add benchmark | Jimmy Hu | 2019-04-03 | 1 | -8/+50 |
| | |||||
* | core: fix disqualified (#544) | Jimmy Hu | 2019-04-02 | 1 | -1/+1 |
| | | | | | | * core: fix disqualified * fix test | ||||
* | core: abort hang DKG (#508) | Mission Liao | 2019-03-22 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | * Capitalize log * Fix DKG aborting hangs Make sure reset cc.dkg to nil in runDKG * Remember to purge tsig verfier too * Replace abortCh with context.Context * Fix obvious bug * Fixup: forever blockin at Wait method when runDKG is not called * Fixup: fix corner case If the Add(1) moved to runDKG under cc.dkgLock, we may not catch it after unlocking cc.dkgLock. * fixup | ||||
* | core: remove round from addDKG fuction (#501) | Jimmy Hu | 2019-03-19 | 1 | -17/+17 |
| | |||||
* | dkg: add reset field (#492) | Mission Liao | 2019-03-17 | 1 | -44/+108 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Add Reset fields to DKG types * Fix crypto part after adding Reset field * Prohibit DKG messages with different resetCount * Add TODO * Add reset parameter to dkgProtocol constructor * Add TODO * Fix inconsist hash to prepare CRS * Add reset parameter when runnning DKG * Fix test for utils.RoundEvent * Add dummy test to prohibit DKG messages with unexpected reset count * Fix test.App | ||||
* | core: split GroupPublicKey and NodePublicKeys (#484) | Jimmy Hu | 2019-03-12 | 1 | -4/+95 |
| | | | | | | | | * core: add benchmark * core: split NPKs and GPK * Add benchmark | ||||
* | core: move some dkg utils (#476) | Mission Liao | 2019-03-11 | 1 | -28/+28 |
| | | | | | | * Move core.getDKGThreshold to core.utils.GetDKGThreshold * Move core.DKGGroupPublicKey to typesDKG.GroupPublicKey | ||||
* | core: check if self's privateShare match MPK registered (#474) | Jimmy Hu | 2019-03-10 | 1 | -0/+136 |
| | | | | | | * core: check if self's privateShare match MPK registered * add test | ||||
* | core: first few round will not have DKG (#455) | Jimmy Hu | 2019-03-04 | 1 | -9/+9 |
| | | | | | | | | | | | | | | * core: Add DKGDelayRound constant * core: use constant value * core, utils: set DKGDelayRound for utils. * test: add dkgDelayRound to state * core: do not run dkg and crs for round < DKGDelayRound * fix test | ||||
* | core: polish dkg for recovery (#443) | Jimmy Hu | 2019-02-13 | 1 | -0/+6 |
| | | | | | | | | * core: Add an error to NewGroupPublicKey * core: Add Delete to TSigVerifierCache * remove duplicated check | ||||
* | utils: move authenticator to utils package (#378) | Mission Liao | 2018-12-22 | 1 | -23/+22 |
| | |||||
* | core: Add a `MPKReady` so `MasterPublicKey` cannot be added afterwards (#375) | Jimmy Hu | 2018-12-19 | 1 | -0/+29 |
| | | | | | | | | | | | | | | | | * 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 | ||||
* | core: Fix a bug of DKGNackComplaints (#370) | Jimmy Hu | 2018-12-14 | 1 | -0/+42 |
| | | | | | | * core: Fix a bug if DKGNackComplaint is added after required time. * Duplicated NackComplaint should be only count once. | ||||
* | test: allow to log in test.State (#359) | Mission Liao | 2018-12-06 | 1 | -8/+16 |
| | |||||
* | core: expose implicit round shift (#321) | Mission Liao | 2018-11-13 | 1 | -8/+8 |
| | |||||
* | Rename repo to dexon-consensus | Wei-Ning Huang | 2018-11-02 | 1 | -12/+12 |
| | |||||
* | core: Move dkg in types to types/dkg. (#253) | Jimmy Hu | 2018-10-25 | 1 | -28/+29 |
| | |||||
* | test: add test.State (#239) | Mission Liao | 2018-10-24 | 1 | -8/+25 |
| | | | | | | | | | * separate test utility and interface implementation for test.Governance. * add test.State. * integrate test.State to test.Governance. test.State is mainly used to emulate state propagation on fullnode. | ||||
* | core: sync compaction chain (#222) | Jimmy Hu | 2018-10-18 | 1 | -0/+61 |
| | |||||
* | core: Change DKG threshold (#204) | Jimmy Hu | 2018-10-15 | 1 | -2/+2 |
| | |||||
* | core: Add round to DKG methods in gov. Change network interface name (#185) | Jimmy Hu | 2018-10-09 | 1 | -8/+8 |
| | |||||
* | core: Add DKG final message. (#181) | Jimmy Hu | 2018-10-09 | 1 | -0/+19 |
| | |||||
* | core: General tsig (#177) | Jimmy Hu | 2018-10-05 | 1 | -6/+6 |
| | |||||
* | core: export some crypto verification function (#166) | Wei-Ning Huang | 2018-10-03 | 1 | -1/+1 |
| | | | | | verifyDKGMasterPublicKeySignature and verifyDKGComplaintSignature are needed in the governance contract to verify the signature. Export than so fullnode can use it. | ||||
* | core: Export DKGGroupPublicKey and its verify function (#160) | Jimmy Hu | 2018-10-02 | 1 | -7/+7 |
| | |||||
* | test: Non-qualified node are accepted in test. (#154) | Jimmy Hu | 2018-10-01 | 1 | -1/+1 |
| | |||||
* | core: rename crypto/eth to crypto/ecdsa (#144) | Wei-Ning Huang | 2018-09-26 | 1 | -2/+2 |
| | |||||
* | crypto: sigtopub to crypto package. remove SigToPubFn (#141) | Jimmy Hu | 2018-09-26 | 1 | -8/+7 |
| | |||||
* | core: move crypto to core/crypto (#140) | Mission Liao | 2018-09-26 | 1 | -3/+3 |
| | | | | | | | | | - 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: run TSIG for first configuration block at startup (#135) | Jimmy Hu | 2018-09-26 | 1 | -8/+17 |
| | |||||
* | core: Fix random test failure (#131) | Jimmy Hu | 2018-09-25 | 1 | -1/+1 |
| | |||||
* | core: run first DKG at startup. (#129) | Jimmy Hu | 2018-09-23 | 1 | -10/+23 |
| | |||||
* | core: add anti-complaint and nack-complaint to dkg protocol (#123) | Jimmy Hu | 2018-09-21 | 1 | -14/+177 |
| | |||||
* | Rename validator* to node* (#120) | Mission Liao | 2018-09-20 | 1 | -58/+58 |
| | |||||
* | core: Add dkg test (#119) | Jimmy Hu | 2018-09-19 | 1 | -0/+194 |
| | |||||
* | core: Nack Complaint (#116) | Jimmy Hu | 2018-09-19 | 1 | -11/+63 |
| | |||||
* | core:DKG and TSIG protocol (#115) | Jimmy Hu | 2018-09-19 | 1 | -0/+191 |