Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | misc: migrate to github.com/tangerine-network | Hao | 2019-09-17 | 1 | -7/+7 |
| | |||||
* | core: do not panic in deliveryGuard but send a stop message instead | Wei-Ning Huang | 2019-06-23 | 1 | -1/+1 |
| | |||||
* | Update import path | Wei-Ning Huang | 2019-06-23 | 1 | -7/+7 |
| | |||||
* | core: merge notarySet and DKGSet (#488) | Jimmy Hu | 2019-03-27 | 1 | -1/+0 |
| | | | | | | | | | | | | | | * core: ăăăȘă DKGSet * test logger * temporary fix before finalized * core: Sign psig on commit vote * Add syncer log * fixup | ||||
* | core: refine DKG aborting (#512) | Mission Liao | 2019-03-23 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | * Avoid aborting the DKG protocol registered later Although that DKG protocol would be registered after 1/2 round, both of them are triggered in separated go routine and we shouldn't assuem their execution order. * Capitalize logs * Add test * Return aborted when not running * Log DKG aborting result * Remove duplicated DKG abort | ||||
* | core: remove initRoundBeginHeight paramenter | Mission Liao | 2019-03-22 | 1 | -1/+1 |
| | | | | * Implement Governance.GetRoundHeight in test.Governance. | ||||
* | core: first few round will not have DKG (#455) | Jimmy Hu | 2019-03-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | * 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: Change RoundInterval to RoundLength (#453) | Jimmy Hu | 2019-02-26 | 1 | -1/+1 |
| | |||||
* | core: switch round by block height (#450) | Mission Liao | 2019-02-20 | 1 | -5/+1 |
| | |||||
* | core: remove Governance.NotifyRoundHeight (#431) | Mission Liao | 2019-01-24 | 1 | -1/+1 |
| | |||||
* | misc: Add gosec to check security issues (#424) | Jimmy Hu | 2019-01-18 | 1 | -12/+17 |
| | | | | | | | | * Add gosec to tools * Run security check to ci * Fix secrity issues | ||||
* | simulation: fix k8s dmoment issue (#416) | Jimmy Hu | 2019-01-09 | 1 | -1/+3 |
| | | | | | | * Handshake with server dmoment * Start simulation from dMoment * Update k8s config | ||||
* | simulation: add latency for gossip (#389) | Mission Liao | 2019-01-03 | 1 | -11/+12 |
| | |||||
* | simulation: support config change (#381) | Mission Liao | 2018-12-26 | 1 | -43/+80 |
| | |||||
* | core: simulation: add throughput and block event monitoring (#380) | haoping-ku | 2018-12-22 | 1 | -1/+1 |
| | | | | | | | | | | | * core: simulation: add throughput and block event monitoring Added throughput and block event monitoring in TCP-local network. These data is collected by nodes and reported to peer server. * fix issues * fix sent time of throughput issue | ||||
* | db: rename blockdb to db (#367) | Mission Liao | 2018-12-13 | 1 | -4/+4 |
| | | | | | | | | | | * Rename blockdb package to db * Rename 'BlockDB' to 'DB' * Make all methods in db specific for ''block'. * Rename db.BlockDatabase to db.Database * Rename revealer to block-revealer * Rename test.Revealer to test.BlockRevealer | ||||
* | test: allow to log in test.State (#359) | Mission Liao | 2018-12-06 | 1 | -1/+6 |
| | |||||
* | core: construct consensus from syncer (#352) | Mission Liao | 2018-12-04 | 1 | -1/+1 |
| | |||||
* | simulation: -log to dump log to file as well (#348) | Jimmy Hu | 2018-11-29 | 1 | -5/+2 |
| | |||||
* | core: sync logger with dex (#325) | Mission Liao | 2018-11-14 | 1 | -1/+5 |
| | |||||
* | simulation: Fix simulation failure (#324) | Mission Liao | 2018-11-14 | 1 | -0/+2 |
| | |||||
* | core: expose implicit round shift (#321) | Mission Liao | 2018-11-13 | 1 | -1/+2 |
| | |||||
* | simulation: use test.Governacne in simulation (#311) | Mission Liao | 2018-11-08 | 1 | -32/+30 |
| | | | | | | | | | | | | * Move simulation.Network to test package * Use test.Governance in simulation * Pack/Apply state request in blocks payload * Add Governance.SwitchToRemoteMode This would trigger governance to broadcast pending state change requests when changes. * Allow to marshal/unmarshal packedStateChanges * Attach test.Network and test.State | ||||
* | core: Run DKG stuffs only if the node is in DKG set (#302) | Jimmy Hu | 2018-11-06 | 1 | -1/+6 |
| | |||||
* | test: move simulation.network to test package (#297) | Mission Liao | 2018-11-05 | 1 | -10/+42 |
| | |||||
* | 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 | -3/+4 |
| | |||||
* | core: initial commit for logger (#228) | Mission Liao | 2018-10-19 | 1 | -1/+7 |
| | | | | | | | | | | | | | * 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 | ||||
* | misc: Fix simulation error (#230) | Jimmy Hu | 2018-10-19 | 1 | -1/+1 |
| | |||||
* | core: Add init block to Run() (#221) | Jimmy Hu | 2018-10-18 | 1 | -1/+1 |
| | |||||
* | Remove duplicated dMoment in Consensus.Run (#206) | Jimmy Hu | 2018-10-15 | 1 | -1/+1 |
| | |||||
* | core: Fix simulation errors. (#202) | Jimmy Hu | 2018-10-15 | 1 | -1/+1 |
| | |||||
* | core: fix simulation error (#201) | Jimmy Hu | 2018-10-15 | 1 | -2/+4 |
| | | | | | * Sync dMoment for all consensus core * App check for randomness ignore round 0 | ||||
* | core: Add round to DKG methods in gov. Change network interface name (#185) | Jimmy Hu | 2018-10-09 | 1 | -3/+3 |
| | |||||
* | core: Add DKG final message. (#181) | Jimmy Hu | 2018-10-09 | 1 | -0/+2 |
| | |||||
* | core: remove legacy mode (#149) | Mission Liao | 2018-09-28 | 1 | -8/+3 |
| | |||||
* | core: hide types.NodeID from full node. (#147) | Mission Liao | 2018-09-28 | 1 | -4/+6 |
| | | | | | | | | | * Refine core.Governance interface - Remove types.NodeID from interface declaration. - All parameter should be round based. * Add core.NodeSetCache * Agreement accepts map of nodeID directly. * test.Transport.Peers method return public keys. | ||||
* | crypto: sigtopub to crypto package. remove SigToPubFn (#141) | Jimmy Hu | 2018-09-26 | 1 | -4/+1 |
| | |||||
* | 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 | ||||
* | Rename validator* to node* (#120) | Mission Liao | 2018-09-20 | 1 | -0/+138 |