aboutsummaryrefslogtreecommitdiffstats
path: root/dex/downloader/testchain_test.go
Commit message (Collapse)AuthorAgeFilesLines
* consensus: dexcon: snapshot round height when finalizing block (#170)Wei-Ning Huang2019-01-241-9/+0
| | | | Instead of having BP to send a tx to register the round height, just modify the state when finalizing block.
* core, dex/downloader: polish headers verification and blocks insertion ↵Sonic2019-01-241-29/+146
| | | | | | | logic (#168) Refactor GenerateDexonChain function, move governance tx logic to the user of GenerateDexonChain (testchain_test.go) and move fake node set code to FakeDexcon.
* 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.
* dex: replace total difficulty with block number (#73)Sonic2018-12-191-12/+0
| | | | | | | In dexon, we don't "mine" and the blockchain won't and shouldn't fork, so there is no difficulty concept, just replace it with block number. Note: this commit only replace total difficulty related logic and code in dex, dex/downloader package.
* dex/downloader: fix testsSonic2018-12-191-18/+69
|
* dex: copy fetcher and downloader from ethSonic2018-12-191-0/+221