From c7659632fe4bba208a361cead5780b4528502971 Mon Sep 17 00:00:00 2001 From: Joan E <153745173+joaniefromtheblock@users.noreply.github.com> Date: Tue, 27 Aug 2024 00:25:43 +0000 Subject: [PATCH] remove references to Prune --- docs/how-to/migrate-database.md | 8 ++++---- docs/how-to/use-rewards-api.md | 2 +- docs/reference/cli/index.md | 4 ++-- docs/reference/cli/subcommands/admin.md | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/how-to/migrate-database.md b/docs/how-to/migrate-database.md index 0a9bfcedd..e3da04f1a 100644 --- a/docs/how-to/migrate-database.md +++ b/docs/how-to/migrate-database.md @@ -12,7 +12,7 @@ LevelDB2 databases use less memory and proves to be more stable with Teku. :::caution -We recommend Teku nodes running in [archive mode] use the [automatic migration](#automatic-migration) method, and Teku nodes running in [prune mode] use the [manual migration](#manual-migration). +We recommend Teku nodes running in [`archive` mode] use the [automatic migration](#automatic-migration) method, and Teku nodes running in [`minimal` mode] use the [manual migration](#manual-migration). ::: @@ -56,7 +56,7 @@ If migration fails, resolve any issues and retry. Contact support on the [Teku D ## Manual migration -Users can manually migrate Teku nodes running a RocksDB database to a LevelDB2 database if the Teku node runs in [prune mode]. +Users can manually migrate Teku nodes running a RocksDB database to a LevelDB2 database if the Teku node runs in [`minimal` mode]. :::caution @@ -64,7 +64,7 @@ Teku nodes running in [archive mode] must resynchronize from genesis to migrate. ::: -To migrate a RocksDB database in [prune mode] to a LevelDB2 database: +To migrate a RocksDB database in [`minimal` mode] to a LevelDB2 database: 1. [Download the latest finalized state] from a beacon node: @@ -95,7 +95,7 @@ Teku creates a LevelDB2 database, and starts from the specified recent state. Te [Download the latest finalized state]: https://consensys.github.io/teku/#operation/getEthV1DebugBeaconStatesWithState_id -[prune mode]: ../reference/cli/index.md#data-storage-mode +[`minimal` mode]: ../reference/cli/index.md#data-storage-mode [archive mode]: ../reference/cli/index.md#data-storage-mode [supply the finalized checkpoint state]: ../get-started/checkpoint-start.md [Teku Discord channel]: https://discord.com/invite/consensys diff --git a/docs/how-to/use-rewards-api.md b/docs/how-to/use-rewards-api.md index 4209c3d4c..e717378bf 100644 --- a/docs/how-to/use-rewards-api.md +++ b/docs/how-to/use-rewards-api.md @@ -32,7 +32,7 @@ The following limitations apply: - The rewards API relies on state and block data to retrieve the reward information, meaning you'll receive limited data if the beacon node being queried is not an archive node. -- You can only query blocks from finalized to head if you are in `prune` storage mode. +- You can only query blocks from finalized to head if you are in `minimal` storage mode. ## Impact of data storage modes diff --git a/docs/reference/cli/index.md b/docs/reference/cli/index.md index 3f3bf8d37..81ae4e2e3 100644 --- a/docs/reference/cli/index.md +++ b/docs/reference/cli/index.md @@ -428,10 +428,10 @@ data-storage-mode: "archive" The strategy for handling historical chain data. Valid options are: -- `minimal` - Stores the minimal required data to follow the chain and run validators. Finalized states and historic blocks are pruned. -- `prune` - Stores all blocks, but finalized states are pruned. - `archive` - Stores all blocks and states. +- `minimal` - Stores the minimal required data to follow the chain and run validators. Finalized states and historic blocks are pruned. + The default is `minimal`. ### `data-storage-non-canonical-blocks-enabled` diff --git a/docs/reference/cli/subcommands/admin.md b/docs/reference/cli/subcommands/admin.md index 2e0f45f75..57c990cc7 100644 --- a/docs/reference/cli/subcommands/admin.md +++ b/docs/reference/cli/subcommands/admin.md @@ -157,7 +157,7 @@ data-storage-archive-frequency: 1028 Set the frequency (in slots) at which to store finalized states to disk. The default is 2048. -This option is ignored if [`--data-storage-mode`](#data-storage-mode) is set to `prune`. +This option is ignored if [`--data-storage-mode`](#data-storage-mode) is set to `minimal`. :::note @@ -200,7 +200,7 @@ data-storage-mode: "archive" -Set the strategy for handling historical chain data. Valid options are `minimal`, `prune` and `archive`. The default is `prune`. +Set the strategy for handling historical chain data. Valid options are `minimal` and `archive`. The default is `minimal`. #### `data-validator-path` @@ -507,7 +507,7 @@ data-storage-mode: "archive" -Set the strategy for handling historical chain data. Valid options are `minimal`, `prune` and `archive`. The default is `minimal`. +Set the strategy for handling historical chain data. Valid options are `minimal` and `archive`. The default is `minimal`. #### `data-validator-path`