aboutsummaryrefslogtreecommitdiffstats
path: root/dex/downloader/downloader_test.go
Commit message (Collapse)AuthorAgeFilesLines
* core: vm: refactor file structurejm2019-02-191-1/+1
| | | | | For support other vm types, this pr modified the core/vm file structures.
* dex: Add a flag to GetBlockHeadersMsg and GetBlockBodiesMsg (#188)Sonic2019-02-121-4/+4
| | | | | | | | | * dex: Add a flag to GetBlockHeadersMsg and GetBlockBodiesMsg So that we can dispatch the response msg to fetcher or downloader easily. * fixup! dex: Add a flag to GetBlockHeadersMsg and GetBlockBodiesMsg
* core, dex/downloader: polish headers verification and blocks insertion ↵Sonic2019-01-241-1/+67
| | | | | | | 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-54/+51
| | | | | | | 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-224/+45
|
* dex: copy fetcher and downloader from ethSonic2018-12-191-0/+1481