aboutsummaryrefslogtreecommitdiffstats
path: root/core/test/governance_test.go
Commit message (Collapse)AuthorAgeFilesLines
* core/crypto/dkg: concurrent access for gpk (#548)Jimmy Hu2019-04-041-1/+1
| | | | | * core/crypto/dkg: add benchmark * core/crypto/dkg: concurrent access for gpk
* core: merge notarySet and DKGSet (#488)Jimmy Hu2019-03-271-8/+8
| | | | | | | | | | | | | | * core: さよăȘら DKGSet * test logger * temporary fix before finalized * core: Sign psig on commit vote * Add syncer log * fixup
* core: remove initRoundBeginHeight paramenterMission Liao2019-03-221-5/+10
| | | | * Implement Governance.GetRoundHeight in test.Governance.
* core: reset DKG (#502)Mission Liao2019-03-201-0/+7
| | | | | | | | | | | | | | * Allow utils.NodeSetCache to purge by rounds. * Purge utils.NodeSetCache when DKG reset. * Add a utils.RoundEvent handler to abort all previous running DKG * Fix test.App hangs in BlockDelivered when utils.RoundEvent is attached. ValidateNextRound is a blocking call and would block test.App.BlockDelivered.
* core: remove round from addDKG fuction (#501)Jimmy Hu2019-03-191-3/+3
|
* test: prohibit dkg (#489)Mission Liao2019-03-141-0/+73
| | | | | * Allow to prohibit DKG changes at governance layer. * Allow test.App to broadcast RoundEvent
* core: first few round will not have DKG (#455)Jimmy Hu2019-03-041-3/+3
| | | | | | | | | | | | | | * 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: switch round by block height (#450)Mission Liao2019-02-201-8/+8
|
* core: remove Governance.NotifyRoundHeight (#431)Mission Liao2019-01-241-4/+4
|
* test: allow to log in test.State (#359)Mission Liao2018-12-061-3/+7
|
* core: support NumChains change for BA modules (#339)Mission Liao2018-11-201-3/+3
|
* core: expose implicit round shift (#321)Mission Liao2018-11-131-6/+11
|
* Rename repo to dexon-consensusWei-Ning Huang2018-11-021-5/+5
|
* test: integrate state to gov (#275)Mission Liao2018-10-301-0/+30
| | | | | | * Fix dummy error * Check validity before apply state changes. * Add RegisterConfigChange method to test.Governance * Add SwitchToRemoteMode method to test.State
* test: clone types.Config, test.Governance, test.State (#262)Mission Liao2018-10-261-0/+64