@Override
  public Bytes buildRlpFromHeader(final BlockHeader blockHeader) {
    return RLP.encode(
        org.hyperledger.besu.ethereum.core.BlockHeader.convertPluginBlockHeader(
                blockHeader, blockHeaderFunctions)
            ::writeTo);
  }
Constructor for RlpConverterServiceImpl.

@param protocolSchedule the protocol schedule.
app/src/main/java/org/hyperledger/besu/services/RlpConverterServiceImpl.java