diff options
author | Sonic <sonic@dexon.org> | 2018-12-04 16:13:41 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | f8df1206a75557714062905d4b802f337e680a42 (patch) | |
tree | 19d70a04c9edfcee2e52d3ff328ee0587706d5e8 /dex/handler_test.go | |
parent | 511054aa3d3b8d1e4eab33d891ef212196b50f6d (diff) | |
download | dexon-f8df1206a75557714062905d4b802f337e680a42.tar dexon-f8df1206a75557714062905d4b802f337e680a42.tar.gz dexon-f8df1206a75557714062905d4b802f337e680a42.tar.bz2 dexon-f8df1206a75557714062905d4b802f337e680a42.tar.lz dexon-f8df1206a75557714062905d4b802f337e680a42.tar.xz dexon-f8df1206a75557714062905d4b802f337e680a42.tar.zst dexon-f8df1206a75557714062905d4b802f337e680a42.zip |
dex: replace total difficulty with block number (#73)
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.
Diffstat (limited to 'dex/handler_test.go')
0 files changed, 0 insertions, 0 deletions