public static TransactionPoolOptions fromConfig(final TransactionPoolConfiguration config) {
    final TransactionPoolOptions options = TransactionPoolOptions.create();
    options.txPoolImplementation = config.getTxPoolImplementation();
    options.saveRestoreEnabled = config.getEnableSaveRestore();
    options.noLocalPriority = config.getNoLocalPriority();
    options.priceBump = config.getPriceBump();
    options.blobPriceBump = config.getBlobPriceBump();
    options.txFeeCap = config.getTxFeeCap();
    options.saveFile = config.getSaveFile();
    options.strictTxReplayProtectionEnabled = config.getStrictTransactionReplayProtectionEnabled();
    options.prioritySenders = config.getPrioritySenders();
    options.minGasPrice = config.getMinGasPrice();
    options.layeredOptions.txPoolLayerMaxCapacity =
        config.getPendingTransactionsLayerMaxCapacityBytes();
    options.layeredOptions.txPoolMaxPrioritized = config.getMaxPrioritizedTransactions();
    options.layeredOptions.txPoolMaxPrioritizedByType =
        config.getMaxPrioritizedTransactionsByType();
    options.layeredOptions.txPoolMaxFutureBySender = config.getMaxFutureBySender();
    options.layeredOptions.minScore = config.getMinScore();
    options.sequencedOptions.txPoolLimitByAccountPercentage =
        config.getTxPoolLimitByAccountPercentage();
    options.sequencedOptions.txPoolMaxSize = config.getTxPoolMaxSize();
    options.sequencedOptions.pendingTxRetentionPeriod = config.getPendingTxRetentionPeriod();
    options.transactionPoolValidatorService = config.getTransactionPoolValidatorService();
    options.unstableOptions.txMessageKeepAliveSeconds =
        config.getUnstable().getTxMessageKeepAliveSeconds();
    options.unstableOptions.eth65TrxAnnouncedBufferingPeriod =
        config.getUnstable().getEth65TrxAnnouncedBufferingPeriod();
    options.unstableOptions.maxTrackedSeenTxsPerPeer =
        config.getUnstable().getMaxTrackedSeenTxsPerPeer();
    options.unstableOptions.peerTrackerForgetEvictedTxs =
        config.getUnstable().getPeerTrackerForgetEvictedTxs();
    return options;
  }
Create Transaction Pool Options from Transaction Pool Configuration.

@param config the Transaction Pool Configuration
@return the transaction pool options
app/src/main/java/org/hyperledger/besu/cli/options/TransactionPoolOptions.java