Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs-developers/docs/cli/aztec_cli_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ aztec setup-protocol-contracts [options]
**ARCHIVER**

- `--archiver`
Starts Aztec Archiver with options
Configures the archiver component within a node (use with --node)

- `--archiver.blobSinkMapSizeKb <value>`
The maximum possible size of the blob sink DB in KB. Overwrites the general dataStoreMapSizeKb.
Expand Down
4 changes: 2 additions & 2 deletions docs/docs-operate/operators/reference/cli-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ tags:
ARCHIVER

--archiver
Starts Aztec Archiver with options
Configures the archiver component within a node (use with --node)

--archiver.blobSinkUrl <value> ($BLOB_SINK_URL)
The URL of the blob sink
Expand Down Expand Up @@ -704,7 +704,7 @@ tags:
PXE

--pxe
Starts Aztec PXE with options
Configures the PXE component within a node (use with --node)

--pxe.l2BlockBatchSize <value> (default: 50) ($PXE_L2_BLOCK_BATCH_SIZE)
Maximum amount of blocks to pull from the stream in one request when synchronizing
Expand Down
7 changes: 5 additions & 2 deletions yarn-project/aztec/src/cli/aztec_start_action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,11 @@ export async function aztecStart(options: any, userLog: LogFn, debugLogger: Logg
const { startBot } = await import('./cmds/start_bot.js');
await startBot(options, signalHandlers, services, userLog);
} else if (options.archiver) {
const { startArchiver } = await import('./cmds/start_archiver.js');
({ config } = await startArchiver(options, signalHandlers, services));
userLog(`Cannot run a standalone archiver without a node. Use --node instead.`);
process.exit(1);
} else if (options.pxe) {
userLog(`Cannot run a standalone PXE without a node. Use --node instead.`);
process.exit(1);
} else if (options.p2pBootstrap) {
const { startP2PBootstrap } = await import('./cmds/start_p2p_bootstrap.js');
({ config } = await startP2PBootstrap(options, signalHandlers, services, userLog));
Expand Down
4 changes: 2 additions & 2 deletions yarn-project/aztec/src/cli/aztec_start_options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export const aztecStartOptions: { [key: string]: AztecStartOption[] } = {
ARCHIVER: [
{
flag: '--archiver',
description: 'Starts Aztec Archiver with options',
description: 'Configures the archiver component within a node (use with --node)',
defaultValue: undefined,
env: undefined,
},
Expand Down Expand Up @@ -312,7 +312,7 @@ export const aztecStartOptions: { [key: string]: AztecStartOption[] } = {
PXE: [
{
flag: '--pxe',
description: 'Starts Aztec PXE with options',
description: 'Configures the PXE component within a node (use with --node)',
defaultValue: undefined,
env: undefined,
},
Expand Down
50 changes: 0 additions & 50 deletions yarn-project/aztec/src/cli/cmds/start_archiver.ts

This file was deleted.

Loading