Files
nym/common/nyxd-scraper
Jędrzej Stuczyński 827c13b69e moved nym-gateway-probe to monorepo and updated rust-edition to 2024 (#6094)
dont build netstack in CI

additional rust 2024 fixes

fixes

removed temp.rs

first round of cleanup

removed duplicated NS types

moved gateway probe to the monorepo
2025-10-08 16:17:43 +01:00
..
2024-01-02 12:54:11 +00:00
2024-04-30 12:32:46 +01:00

Nyxd Scraper

Pruning

Similarly to cosmos-sdk, we incorporate pruning into our (scraped) chain data. We attempt to follow their strategies as closely as possible for convenience's sake. Therefore, the following are available:

Strategies

The strategies are configured in config.toml, with the format pruning = "<strategy>" where the options are:

  • default: only the last 362,880 states(approximately 3.5 weeks worth of state) are kept; pruning at 10 block intervals
  • nothing: all historic states will be saved, nothing will be deleted (i.e. archiving node)
  • everything: 2 latest states will be kept; pruning at 10 block intervals.
  • custom: allow pruning options to be manually specified through pruning.keep_recent, and pruning.interval

Custom Pruning

These are applied if and only if the pruning strategy is custom:

  • pruning.keep_recent: N means to keep all of the last N blocks
  • pruning.interval: N means to delete old block data from disk every Nth block.