diff options
author | Sonic <sonic@dexon.org> | 2018-11-20 14:13:53 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2018-12-19 20:54:27 +0800 |
commit | bd5896ae1e52323a0022d40d8622c2a04408af24 (patch) | |
tree | 4ec6a6d6c7eab57dd82e08c599e5b9d62be7d1c2 /metrics | |
parent | f1715c06f9d216549b05d12fb93d8dacb564ecda (diff) | |
download | dexon-bd5896ae1e52323a0022d40d8622c2a04408af24.tar.gz dexon-bd5896ae1e52323a0022d40d8622c2a04408af24.tar.zst dexon-bd5896ae1e52323a0022d40d8622c2a04408af24.zip |
dex: implement downloader for dex
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.
Diffstat (limited to 'metrics')
0 files changed, 0 insertions, 0 deletions