aboutsummaryrefslogtreecommitdiffstats
path: root/core/blocks.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-20 18:58:17 +0800
committerobscuren <geffobscura@gmail.com>2015-04-20 18:58:17 +0800
commit97a9753f87cce4f0072feba63f2e137138a16063 (patch)
tree2dd6b3a49fde192a93cafeabc6c95f5c3e250550 /core/blocks.go
parent45da3e17e2ada226d7c82db667d263f8e004cbfc (diff)
downloaddexon-97a9753f87cce4f0072feba63f2e137138a16063.tar.gz
dexon-97a9753f87cce4f0072feba63f2e137138a16063.tar.zst
dexon-97a9753f87cce4f0072feba63f2e137138a16063.zip
core: added chain reset mechanism on bad blocks
Diffstat (limited to 'core/blocks.go')
-rw-r--r--core/blocks.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/blocks.go b/core/blocks.go
new file mode 100644
index 000000000..b26e8f6ee
--- /dev/null
+++ b/core/blocks.go
@@ -0,0 +1,7 @@
+package core
+
+import "github.com/ethereum/go-ethereum/common"
+
+var badHashes = []common.Hash{
+ common.HexToHash("f269c503aed286caaa0d114d6a5320e70abbc2febe37953207e76a2873f2ba79"),
+}