aboutsummaryrefslogtreecommitdiffstats
path: root/dex/app_test.go
Commit message (Collapse)AuthorAgeFilesLines
* core, dex: use block hash as witness data (#160)Sonic2019-01-181-8/+4
| | | | | | | | | | Using only state root and receipt root as witness data can not protect other fields in block header, ex: bloom, difficulty, gas limit, gas used... So that everyone can manipulate these fields to create as many valid blocks at the same height as he want. Although this will not effect the state, one can spam us when syncing. Using block hash as witness data can solve this.
* Revert "core: vm: refactor file structure (#151)"Wei-Ning Huang2019-01-171-1/+1
| | | | This reverts commit 020c8a477578cef3764b54f33d9ca0cf6caf7631.
* core: vm: refactor file structure (#151)JM2019-01-151-1/+1
| | | | For support other vm types, this pr modified the core/vm file structures.
* app: remove pending block logic (#149)bojie2019-01-141-127/+97
|
* consensus: implement DEXON cryptoeconomics v4.0 (#145)Wei-Ning Huang2019-01-141-5/+17
|
* app: implement logic for prepare/verify correctly when chain number change ↵bojie2019-01-141-0/+207
| | | | (#118)
* core: vm: implement byzantine reporting mechanism (#128)Wei-Ning Huang2019-01-141-7/+8
|
* dex: fix test due to consensus-core changeWei-Ning Huang2019-01-141-9/+9
|
* dex: remove duplicate declaration of WitnessData (#92)Wei-Ning Huang2018-12-191-5/+1
| | | | Remove duplicate declaration of WitnessData and remove the TxHash field in witness data since it does not need to be witnessed.
* app: remove unnecessary code (#86)bojie2018-12-191-11/+1
|
* app: add app test case and benchmark (#66)bojie2018-12-191-0/+689