aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/peer-server.go
Commit message (Collapse)AuthorAgeFilesLines
* simulation: add more time for k8s to start (#417)Jimmy Hu2019-01-091-1/+1
|
* simulation: fix k8s dmoment issue (#416)Jimmy Hu2019-01-091-0/+3
| | | | | | * Handshake with server dmoment * Start simulation from dMoment * Update k8s config
* simulation: add latency for gossip (#389)Mission Liao2019-01-031-3/+6
|
* simulation: support config change (#381)Mission Liao2018-12-261-1/+29
|
* core: simulation: add throughput and block event monitoring (#380)haoping-ku2018-12-221-24/+100
| | | | | | | | | | | * core: simulation: add throughput and block event monitoring Added throughput and block event monitoring in TCP-local network. These data is collected by nodes and reported to peer server. * fix issues * fix sent time of throughput issue
* Haoping fix simulation (#356)haoping-ku2018-12-051-0/+34
| | | | | | | | | | | | | | | * simulation: add benchmark features * tmp * simulation: modify Debug interface * Added BlockReceived and BlockReady function to Debug interface. * Added Benchmark features. * fix * fix typos
* Rename repo to dexon-consensusWei-Ning Huang2018-11-021-8/+8
|
* core: hide types.NodeID from full node. (#147)Mission Liao2018-09-281-1/+3
| | | | | | | | | * Refine core.Governance interface - Remove types.NodeID from interface declaration. - All parameter should be round based. * Add core.NodeSetCache * Agreement accepts map of nodeID directly. * test.Transport.Peers method return public keys.
* Rename validator* to node* (#120)Mission Liao2018-09-201-12/+12
|
* simulation: integrate test.Transport (#99)Mission Liao2018-09-111-224/+112
| | | | | - Add marshaller for simulation by encoding/json - Implement peer server based on test.TranportServer - Remove network models, they are replaced with test.LatencyModel
* simulation: taken network latency model into consideration in TCP mode (#68)Mission Liao2018-08-201-5/+10
| | | | | | - Clone block once for each broadcast - Add network latency model for TCPNetwork - Fix map concurrent write
* simulation: Fix k8s simulation issues. (#36)Jimmy Hu2018-08-091-5/+28
| | | | | | | | | | | | * Refine peer server * k8s ignore * Keep peer server alive on k8s * Stop validators from accepting new blocks after peer server has shut down. * Add comment
* simulation: Show internal and external timestamp latency. (#30)Jimmy Hu2018-08-071-7/+22
|
* simulation: free resource after use and misc fix for k8s mode (#31)Wei-Ning Huang2018-08-061-2/+21
|
* Print block confirm latency when Peer Server stopped. (#23)Jimmy Hu2018-07-311-1/+1
|
* Print confirmed blocks per second when Peer Server stopped. (#22)Jimmy Hu2018-07-311-0/+2
|
* Add a config that PeerServer can shutdown after receiving enough of block. (#19)Jimmy Hu2018-07-301-4/+73
|
* Verify the Total Ordering Algorithm in peerServer in tcp mode (#11)Jimmy Hu2018-07-261-3/+48
| | | Verify the Total Ordering Algorithm in peerServer in tcp mode.
* simulation: fix tcp-local network simulation (#8)Wei-Ning Huang2018-07-231-1/+1
| | | | | | * simulation: fix tcp-local network simulation * fixup
* Implement simulation on a real network (#5)Wei-Ning Huang2018-07-201-0/+117
simulation: implement simulation on a real network