aboutsummaryrefslogtreecommitdiffstats
path: root/dex/downloader/fakepeer.go
Commit message (Collapse)AuthorAgeFilesLines
* dex: implement downloader for dexSonic2019-06-121-2/+15
| | | | | | | | | | | We need governance state to verify block's signature (randomness), but in ethereum fast sync mode, eth downloader only downloads the whole state of pivot block, so we don't have governance state to verify the downloaded block that is before pivot block if we don't processing transaction. To avoid running transactions, dex downloader also downloads the governance state (merkle proof and storage) at snapshot height of each round, so that we can verify blocks in fast sync mode.
* dex: copy fetcher and downloader from ethSonic2019-06-121-0/+161