github.com/Unheilbar/quorum@v1.0.0/core/rawdb/accessors_chain_quorum.go (about)

     1  package rawdb
     2  
     3  import (
     4  	"github.com/ethereum/go-ethereum/common"
     5  	"github.com/ethereum/go-ethereum/ethdb"
     6  )
     7  
     8  // HasBadBlock returns whether the block with the hash is a bad block. dep: Istanbul
     9  func HasBadBlock(db ethdb.Reader, hash common.Hash) bool {
    10  	return ReadBadBlock(db, hash) != nil
    11  }