aboutsummaryrefslogtreecommitdiffstats
path: root/ethstats
diff options
context:
space:
mode:
authorSonic <sonic@dexon.org>2019-01-18 11:55:51 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 13:50:01 +0800
commit83d71cf150ebf406578ffecbb98ca14218223891 (patch)
treeeb10f13056e5f104a8f5d80b7178e85ea0f5b800 /ethstats
parentd761e5cbdb58db48c0294a823953cee89f8e1c4e (diff)
downloaddexon-83d71cf150ebf406578ffecbb98ca14218223891.tar
dexon-83d71cf150ebf406578ffecbb98ca14218223891.tar.gz
dexon-83d71cf150ebf406578ffecbb98ca14218223891.tar.bz2
dexon-83d71cf150ebf406578ffecbb98ca14218223891.tar.lz
dexon-83d71cf150ebf406578ffecbb98ca14218223891.tar.xz
dexon-83d71cf150ebf406578ffecbb98ca14218223891.tar.zst
dexon-83d71cf150ebf406578ffecbb98ca14218223891.zip
core, dex: use block hash as witness data (#160)
Using only state root and receipt root as witness data can not protect other fields in block header, ex: bloom, difficulty, gas limit, gas used... So that everyone can manipulate these fields to create as many valid blocks at the same height as he want. Although this will not effect the state, one can spam us when syncing. Using block hash as witness data can solve this.
Diffstat (limited to 'ethstats')
0 files changed, 0 insertions, 0 deletions