Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(dot/state/pruner): refactoring and fixes #2831

Closed
wants to merge 11 commits into from

Commits on Jan 26, 2023

  1. Configuration menu
    Copy the full SHA
    a3c7b2c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    331802d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3c5f9ea View commit details
    Browse the repository at this point in the history
  4. Prune: explicitely return nil

    qdm12 committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    0ea106c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    745d94a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1645a72 View commit details
    Browse the repository at this point in the history
  7. Prune: clarify method comment

    qdm12 committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    61ca38a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c671254 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    95fb407 View commit details
    Browse the repository at this point in the history
  10. State online full pruner

    - Move dot/state/pruner to internal/pruner/archive and internal/pruner/full
    - Define pruner as dot/state local interface
    - Inject pruner in NewStorageState
    - Unexport newStorageState
    - `NewArchiveNode` constructor
    - Change pruner config from `Mode` to bool
      - It's either on or off really
      - Change `--pruning` to be a boolean flag
      - Change pruning toml field to be a boolean
    - Pruner config changes
      - Do not store and load pruning config from base state
      - Move Config struct definition in `dot/state`
      - Set pruning state service config from user config in `dot`
    - Database batches for storing journal records
    - Unit and integration tests
    - Rename `StoreJournalRecord` to `RecordAndPrune`
    - Genesis block: no journal data and no pruning
    qdm12 committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    e2ee865 View commit details
    Browse the repository at this point in the history
  11. wip

    qdm12 committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    ed2de43 View commit details
    Browse the repository at this point in the history