diff options
author | Felix Lange <fjl@twurst.com> | 2016-05-25 00:49:54 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-05-25 08:02:51 +0800 |
commit | ca18202eb9a94de1d4b51c1572fa74edfa2773bf (patch) | |
tree | 7c56ac08aa0feb3221241959ed2eeff1ef1ff097 /tests/init.go | |
parent | 5bcdbb1ce4ac576cab778e9772fabdcc7cbfbb5f (diff) | |
download | dexon-ca18202eb9a94de1d4b51c1572fa74edfa2773bf.tar dexon-ca18202eb9a94de1d4b51c1572fa74edfa2773bf.tar.gz dexon-ca18202eb9a94de1d4b51c1572fa74edfa2773bf.tar.bz2 dexon-ca18202eb9a94de1d4b51c1572fa74edfa2773bf.tar.lz dexon-ca18202eb9a94de1d4b51c1572fa74edfa2773bf.tar.xz dexon-ca18202eb9a94de1d4b51c1572fa74edfa2773bf.tar.zst dexon-ca18202eb9a94de1d4b51c1572fa74edfa2773bf.zip |
eth: enable bad block reports
We used to have reporting of bad blocks, but it was disabled
before the Frontier release. We need it back because users
are usually unable to provide the full RLP data of a bad
block when it occurs.
A shortcoming of this particular implementation is that the
origin peer is not tracked for blocks received during eth/63
sync. No origin peer info is still better than no report at
all though.
Diffstat (limited to 'tests/init.go')
-rw-r--r-- | tests/init.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/init.go b/tests/init.go index 5112b274d..0c07f8b23 100644 --- a/tests/init.go +++ b/tests/init.go @@ -25,8 +25,6 @@ import ( "net/http" "os" "path/filepath" - - "github.com/ethereum/go-ethereum/core" ) var ( @@ -59,11 +57,6 @@ var ( VmSkipTests = []string{} ) -// Disable reporting bad blocks for the tests -func init() { - core.DisableBadBlockReporting = true -} - func readJson(reader io.Reader, value interface{}) error { data, err := ioutil.ReadAll(reader) if err != nil { |