aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
Commit message (Collapse)AuthorAgeFilesLines
* 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-023-17/+17
|
* 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-012-4/+12
|
* core: remove legacy mode (#149)Mission Liao2018-09-281-2/+1
|
* Rename validator* to node* (#120)Mission Liao2018-09-201-13/+13
|
* core: Fix BA Fork issues (#104)Jimmy Hu2018-09-131-0/+11
|
* simulation: integrate test.Transport (#99)Mission Liao2018-09-112-2/+14
| | | | | - Add marshaller for simulation by encoding/json - Implement peer server based on test.TranportServer - Remove network models, they are replaced with test.LatencyModel
* 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-052-3/+4
|
* 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.
* Add -cpuprofile and -memprofile to dexcon-simulation (#56)Jimmy Hu2018-08-141-0/+28
|
* simulation: fix tcp-local network simulation (#8)Wei-Ning Huang2018-07-231-0/+7
| | | | | | * simulation: fix tcp-local network simulation * fixup
* Implement simulation on a real network (#5)Wei-Ning Huang2018-07-201-0/+33
| | | simulation: implement simulation on a real network
* Initial implementation of DEXON consensus algorithmWei-Ning Huang2018-07-161-0/+53