Skip to content

Commit

Permalink
refactor: change relay to bootstrap mode (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak authored Nov 6, 2024
1 parent 2bedbc2 commit ce69830
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ topology-node --help
You can run a bootstrap node using the following command:

```bash
pnpm relay --config configs/bootstrap.json
pnpm cli bootstrap --config configs/bootstrap.json
```

If you want to run a local bootstrap node, you can use the following command:

```bash
pnpm relay --config configs/local-bootstrap.json
pnpm cli bootstrap --config configs/local-bootstrap.json
```

### Integration
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ program.addOption(new Option("-c, --config <file>", "config file"));
program.addOption(
new Option("-m, --mode <mode>", "mode to run in")
.default("node")
.choices(["node", "relay"]),
.choices(["node", "bootstrap"]),
);

0 comments on commit ce69830

Please sign in to comment.