diff --git a/docs/manta-atlantic/Node/03-SetupAndRun/02-archive_node.md b/docs/manta-atlantic/Node/03-SetupAndRun/02-archive_node.md index 96a28a7f..7dd6cd33 100644 --- a/docs/manta-atlantic/Node/03-SetupAndRun/02-archive_node.md +++ b/docs/manta-atlantic/Node/03-SetupAndRun/02-archive_node.md @@ -16,11 +16,35 @@ Similar to full node rpc parameters can also be specified serve the archive node ### Configuration - --pruning archive +- --base-path (e.g `/opt/manta/lib`) +- --chain manta + +for version `>= v4.6.0` (inclusive) + +- --rpc-port (e.g `9944`) +- --rpc-cors (e.g `all`) +- --rpc-max-connections (default: `100`) +- --rpc-methods (e.g `safe`) + +for version `< v4.6.0` (exclusive) + +- --ws-port (e.g `9944`) +- --ws-max-connections (default: `100`) +- --rpc-port (e.g `9933`) +- --rpc-cors (e.g. `all`) ### Example Command +for version `>= v4.6.0` (inclusive) + +```bash +./manta --base-path /opt/manta/lib --chain manta --pruning archive --rpc-port 9944 --rpc-cors all --rpc-max-connections 100 --rpc-methods safe +``` + +for version `< v4.6.0` (exclusive) + ```bash -./manta --base-path /opt/manta/lib --chain manta --pruning archive +./manta --base-path /opt/manta/lib --chain manta --pruning archive --rpc-port 9933 --rpc-cors all --ws-max-connections 100 --ws-port 9944 ``` ### Check Archive Node Logs