aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/simulation.go
Commit message (Collapse)AuthorAgeFilesLines
* simulation: -log to dump log to file as well (#348)Jimmy Hu2018-11-291-5/+28
|
* core: support NumChains change for BA modules (#339)Mission Liao2018-11-201-1/+1
|
* core: Run DKG stuffs only if the node is in DKG set (#302)Jimmy Hu2018-11-061-1/+10
|
* test: move simulation.network to test package (#297)Mission Liao2018-11-051-3/+4
|
* Rename repo to dexon-consensusWei-Ning Huang2018-11-021-7/+7
|
* core: fix simulation error (#201)Jimmy Hu2018-10-151-1/+4
| | | | | * Sync dMoment for all consensus core * App check for randomness ignore round 0
* core: remove legacy mode (#149)Mission Liao2018-09-281-2/+2
|
* core: rename crypto/eth to crypto/ecdsa (#144)Wei-Ning Huang2018-09-261-2/+2
|
* crypto: sigtopub to crypto package. remove SigToPubFn (#141)Jimmy Hu2018-09-261-1/+1
|
* core: move crypto to core/crypto (#140)Mission Liao2018-09-261-1/+1
| | | | | | | | | - Move key-holder to authenticator Make core.keyHolder public as core.Authenticator, it is not required to make this part an interface. - Make private when there is no need to go public. - Fix data race
* Rename validator* to node* (#120)Mission Liao2018-09-201-4/+4
|
* simulation: integrate test.Transport (#99)Mission Liao2018-09-111-48/+35
| | | | | - Add marshaller for simulation by encoding/json - Implement peer server based on test.TranportServer - Remove network models, they are replaced with test.LatencyModel
* misc: Polish BA. (#94)Jimmy Hu2018-09-051-3/+3
|
* simulation: remove fake network (#74)Wei-Ning Huang2018-08-251-33/+17
|
* simulation: taken network latency model into consideration in TCP mode (#68)Mission Liao2018-08-201-8/+10
| | | | | | - Clone block once for each broadcast - Add network latency model for TCPNetwork - Fix map concurrent write
* simulation: Fix port reuse error in simulation. (#65)Jimmy Hu2018-08-171-4/+14
|
* core: Sign block in Consensus.PrepareBlock. (#50)Jimmy Hu2018-08-131-3/+3
|
* core: ValidatorID.Hash is the hash of public key. (#49)Jimmy Hu2018-08-131-8/+16
|
* simulation: free resource after use and misc fix for k8s mode (#31)Wei-Ning Huang2018-08-061-0/+6
|
* blockdb: allow to dump blocks to json-encoded fileMission Liao2018-07-311-3/+3
| | | | | | | | | | | | - Allow to dump blockdb to a json file - Compared to leveldb, a json file is easier to trace. - Add interfaces block database: - Close would be required by database that needs cleanup. - BlockIterator is required when we need to access 'all' blocks, adding a new method 'GetAll' as the constructor for iterators. - Remove GetByValidatorAndHeight from blockdb.Reader - This function is not used anywhere, to make interface minimum, remove it. - Fix typo: backend -> backed
* Add a config that PeerServer can shutdown after receiving enough of block. (#19)Jimmy Hu2018-07-301-2/+7
|
* Verify the Total Ordering Algorithm in peerServer in tcp mode (#11)Jimmy Hu2018-07-261-2/+1
| | | Verify the Total Ordering Algorithm in peerServer in tcp mode.
* Implement simulation on a real network (#5)Wei-Ning Huang2018-07-201-18/+38
| | | simulation: implement simulation on a real network
* Initial implementation of DEXON consensus algorithmWei-Ning Huang2018-07-161-0/+58