aboutsummaryrefslogtreecommitdiffstats
path: root/integration_test/consensus_test.go
Commit message (Collapse)AuthorAgeFilesLines
* simulation: add latency for gossip (#389)Mission Liao2019-01-031-5/+6
|
* sync: filter duplicated randomness (#387)Mission Liao2018-12-281-1/+1
|
* Fix: consensusTimestamp panic when numChains increased at round 1(#382)Mission Liao2018-12-271-3/+8
|
* test: add witness preparation/verification (#386)Mission Liao2018-12-271-0/+4
|
* core: fix stuffs (#383)Mission Liao2018-12-261-51/+19
| | | | | | * Merge core.Consensus constructors * Downgrade severity of logs * Refine logic to add blocks from pool to lattice * Add test.LaunchDummyReceiver
* core: Add a `MPKReady` so `MasterPublicKey` cannot be added afterwards (#375)Jimmy Hu2018-12-191-11/+15
| | | | | | | | | | | | | | | | * 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
* syncer: fix stuffs (#373)Mission Liao2018-12-181-2/+7
| | | | | | | | | | | | * Add a new method: GetSyncedConsensus This method avoids calling BlockDelivered in SyncBlocks methods, which avoid potential deadlock. * Add a method to stop the syncer before synced * Enable nonBlockingApp for synced Consensus instance.
* db: cache compaction chain tip in db (#369)Mission Liao2018-12-131-0/+1
| | | | | * Replace JSON with RLP in levelDB implementation. * Make sure blocks to sync following compaction chain tip
* db: rename blockdb to db (#367)Mission Liao2018-12-131-9/+9
| | | | | | | | | | * 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
* syncer: fix stuffs (#366)Mission Liao2018-12-121-1/+7
| | | | | | | | | | * return delivered blocks when processing finalized blocks * check deliver sequence when processing finalized blocks * skip delivery of finalized blocks * remove duplicated calls to BlockConfirmed * add numChains change in test scenario * fix the bug that restartNotary is triggered by older block than current aID.
* ci: Add TravisCI setting. (#363)Jimmy Hu2018-12-081-6/+25
| | | | | | | | | | | | | | * Update Gopkg.lock * Fix test * Add travisCI setting * Print log using fmt * Update GNUmakefile * Use single go rountine for consensus_test
* test: allow to log in test.State (#359)Mission Liao2018-12-061-3/+9
|
* core: construct consensus from syncer (#352)Mission Liao2018-12-041-20/+47
|
* core: syncer: add syncer (#346)haoping-ku2018-11-291-8/+205
|
* core: support NumChains change for BA modules (#339)Mission Liao2018-11-201-2/+90
|
* test: fix network (#328)Mission Liao2018-11-151-1/+3
| | | | * Broadcast to set of node instead of broadcasting when attaching cache. * Fix pull blocks
* core: expose implicit round shift (#321)Mission Liao2018-11-131-1/+3
|
* test: add integration test (#315)Mission Liao2018-11-111-0/+139
* Rename NonByzantineTestSuite to WithSchedulerTestsuite * Add a method to query the latest position delivered * Add integration test for core.Consensus * Show detailed list for test cases in CI