public void reset() {
    this.badBlocks.invalidateAll();
    this.badHeaders.invalidateAll();
    this.latestValidHashes.invalidateAll();
  }
Add a new invalid block.

@param badBlock the invalid block
@param cause the cause detailing why the block is considered invalid
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/chain/BadBlockManager.java