aboutsummaryrefslogtreecommitdiffstats
path: root/core/test/app_test.go
Commit message (Collapse)AuthorAgeFilesLines
* core: lattice sync (#257)Jimmy Hu2018-10-251-6/+22
|
* core: total-ordering: change early flag to mode (#227)Haoping Ku2018-10-191-9/+10
| | | * core: total-ordering: change early flag to mode
* core: change interface (#193)Mission Liao2018-10-111-3/+2
| | | | | | | * Extract types.FinalizationResult * Change interface: - Application.BlockConfirmed returns whole block. - Application.BlockDelivered returns partial result.
* core: Check Witness height. Add ConsensusTime and ConsensusHeight to block. ↵Jimmy Hu2018-10-041-4/+3
| | | | (#170)
* core: update data model to reflect new model (#157)Wei-Ning Huang2018-10-011-5/+0
| | | | | | Update data model: 1) Remove witness ack. 2) Add round to block. 3) Update governance interface.
* Fix naming of methods (#134)Mission Liao2018-09-251-8/+8
| | | | | | - BlockDeliver -> BlockDelivered - TotalOrderingDeliver -> TotalOrderingDelivered - WitnessAckDeliver -> WitnessAckDelivered - VerifyPayload -> VerifyPayloads
* core: add debug (#133)Mission Liao2018-09-251-6/+15
| | | | | | | | | | | | | | | | | | | | | * Split interface * Rename nonblocking-application to nonblocking Parts needs nonblocking gets more. * Implement core.nonBlocking based on interface split * Fix: the witness parent hash could be parent on compaction chain. * Rename Application.DeliverBlock to BlockDeliver To sync with naming of other methods. * Change methods' fingerprint - BlockConfirmed provides block hash only. - BlockDeliver provde a whole block.
* core: rename Notary (Acks) to Witness (#118)Wei-Ning Huang2018-09-191-5/+5
|
* core: Notary ack application. (#70)Jimmy Hu2018-08-221-0/+26
|
* simulation: add simulation with scheduler (#71)Mission Liao2018-08-211-5/+5
| | | | | | | | - 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.
* test: refine test utility (#61)Mission Liao2018-08-151-0/+142
* Add functionality to test.App * Add test utility to generate slices of types.ValidatorID