aboutsummaryrefslogtreecommitdiffstats
path: root/core/test/network.go
Commit message (Collapse)AuthorAgeFilesLines
* simulation: Fix simulation stuffs (#405)Jimmy Hu2019-01-071-0/+8
| | | | | | * test: fix marshal randomness pullrequest * Add result for witness latency
* simulation: add latency for gossip (#389)Mission Liao2019-01-031-91/+110
|
* core: pull block random (#384)Jimmy Hu2018-12-261-39/+139
| | | | | | | | * Add PullRandomness to interface * Add pendingBlocksWithoutRandomness to compactionChain * Pull randomness every 1 second
* core: syncer: add syncer (#346)haoping-ku2018-11-291-0/+5
|
* core, test: Fix various issues (#337)Jimmy Hu2018-11-191-1/+1
|
* test: fix network (#328)Mission Liao2018-11-151-61/+90
| | | | * Broadcast to set of node instead of broadcasting when attaching cache. * Fix pull blocks
* test: add integration test (#315)Mission Liao2018-11-111-5/+22
| | | | | | * 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
* test: implement pulling in network layer (#314)Mission Liao2018-11-091-43/+319
| | | | | | | * Add definition for test.PullRequest * Cache notary sets for each round in network module * Cache peers as nodeID in network module. * Implement pull blocks * Implement pull vote
* simulation: use test.Governacne in simulation (#311)Mission Liao2018-11-081-19/+48
| | | | | | | | | | | | * 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
* test: move simulation.network to test package (#297)Mission Liao2018-11-051-0/+293