aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/dexcon-simulation-with-scheduler
Commit message (Collapse)AuthorAgeFilesLines
* big-bang: single chain (#446)Mission Liao2019-02-191-139/+0
|
* misc: Add gosec to check security issues (#424)Jimmy Hu2019-01-181-1/+4
| | | | | | | | * Add gosec to tools * Run security check to ci * Fix secrity issues
* simulation: add latency for gossip (#389)Mission Liao2019-01-031-3/+3
|
* test: allow to log in test.State (#359)Mission Liao2018-12-061-3/+7
|
* core: expose implicit round shift (#321)Mission Liao2018-11-131-1/+4
|
* core: Run DKG stuffs only if the node is in DKG set (#302)Jimmy Hu2018-11-061-1/+18
|
* Rename repo to dexon-consensusWei-Ning Huang2018-11-021-3/+3
|
* core: core.Lattice supports config change (#276)Mission Liao2018-11-011-9/+17
| | | | | | | | | | | Besides making core.Lattice supports config change, This PR also include the first test for below scenario: - Configuration changes are registered before test running - Those changes are carried/broadcasted as payload of blocks - Only one node would initiate these changes, however, all nodes would finally receive/apply those changes to their own test.Governance instance.
* Add pprof to dexcon commands (#282)Mission Liao2018-11-011-1/+6
|
* Rename validator* to node* (#120)Mission Liao2018-09-201-13/+13
|
* 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
* misc: Polish BA. (#94)Jimmy Hu2018-09-051-2/+2
|
* simulation: allow to run simulation with scheduler on k8s (#72)Mission Liao2018-08-221-5/+4
| | | | | | | | To run a simulation with scheduler on k8s: ./run_scheduler.sh 61 5 Where *61* means the simulation contains 61 validators, and *5* means the simulation utilizes 5 vCPUs and corresponding concurrent workers to run.
* simulation: add simulation with scheduler (#71)Mission Liao2018-08-211-0/+100
- 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.