Interface DataStorageConfiguration


public interface DataStorageConfiguration
Data storage configuration
  • Method Details

    • getDatabaseFormat

      DataStorageFormat getDatabaseFormat()
      Database format. This sets the list of segmentIdentifiers that should be initialized.
      Returns:
      Database format.
    • getReceiptCompactionEnabled

      boolean getReceiptCompactionEnabled()
      Whether receipt compaction is enabled. When enabled this reduces the storage needed for receipts.
      Returns:
      Whether receipt compaction is enabled
    • isHistoryExpiryPruneEnabled

      default boolean isHistoryExpiryPruneEnabled()
      Whether block history expiry prune is enabled. When enabled this: - Enables online pruner if data is not already pruned - Enables RocksDB blob garbage collection settings to reclaim the space from the pruned blocks
      Returns:
      Whether history expiry is enabled
    • getRevertReasonEnabled

      default boolean getRevertReasonEnabled()
      Whether revert reasons are persisted in transaction receipts.
      Returns:
      Whether revert reason persistence is enabled