public BadBlockManager getBadBlockManager() {
    return badBlockManager;
  }
Gets the bad block manager of the protocol context.

@return the bad block manager of the protocol context
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/ProtocolContext.java