aboutsummaryrefslogtreecommitdiffstats
path: root/integration_test/stats_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Rename validator* to node* (#120)Mission Liao2018-09-201-4/+4
|
* test: add transport layer (#97)Mission Liao2018-09-101-2/+2
| | | | | | | | | | The purpose of transport layer is to abstract the way to send messages and setup connections between peers in a p2p network. The peer discovery is simulated by a hosted server: every peer sends its address to a known server. Once collecting enough peers, respond the whole peers lists to all peers. Changes: - Add test.Trasnport interface - Add test.Transport implementation by golang channel. - Add test.transport implementation by TCP connection. - Move LatencyModel to core/test package - Add Marshaller interface
* simulation: add simulation with scheduler (#71)Mission Liao2018-08-211-0/+60
- Add new field in test.Event: HistoryIndex HistoryIndex allow us to access them by their position in event history. - Record local time in test.App when receiving events. - Add statisitics module for slices of test.Event. - add new command line utility *dexcon-simulation-with-scheduler to verify the execution time of core.Consensus.