Skip to content

Commit

Permalink
GH-1403 Remove disable-replay-opts from docs as no longer required.
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Jul 28, 2023
1 parent 9cc01d8 commit 461ea9c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
3 changes: 1 addition & 2 deletions docs/01_nodeos/02_usage/01_nodeos-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ nodeos \
--plugin eosio::http_plugin \
--plugin eosio::state_history_plugin \
--contracts-console \
--disable-replay-opts \
--access-control-allow-origin='*' \
--http-validate-host=false \
--verbose-http-errors \
Expand All @@ -46,7 +45,7 @@ The above `nodeos` command starts a producing node by:
* setting the blockchain data directory (`--data-dir`)
* setting the `config.ini` directory (`--config-dir`)
* loading plugins `producer_plugin`, `chain_plugin`, `http_plugin`, `state_history_plugin` (`--plugin`)
* passing `chain_plugin` options (`--contracts-console`, `--disable-replay-opts`)
* passing `chain_plugin` options (`--contracts-console`)
* passing `http-plugin` options (`--access-control-allow-origin`, `--http-validate-host`, `--verbose-http-errors`)
* passing `state_history` options (`--state-history-dir`, `--trace-history`, `--chain-state-history`)
* redirecting both `stdout` and `stderr` to the `nodeos.log` file
Expand Down
17 changes: 0 additions & 17 deletions docs/01_nodeos/03_plugins/state_history_plugin/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,23 +51,6 @@ Config Options for eosio::state_history_plugin:
number of most recent blocks
```

## Examples

## Dependencies

* [`chain_plugin`](../chain_plugin/index.md)

### Load Dependency Examples

```console
# config.ini
plugin = eosio::chain_plugin --disable-replay-opts
```
```sh
# command-line
nodeos ... --plugin eosio::chain_plugin --disable-replay-opts
```

## How-To Guides

* [How to fast start without history on existing chains](10_how-to-fast-start-without-old-history.md)
Expand Down

0 comments on commit 461ea9c

Please sign in to comment.