Skip to content

Commit

Permalink
fix: suggestions from code review (#1333)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcstein authored Dec 15, 2023
1 parent 93e6c0b commit ef523d1
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 6 deletions.
20 changes: 17 additions & 3 deletions developers/node-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,26 @@ commands:

3. Build the `celestia` binary:

```bash
a. Standard build

```bash
make build
```

b. Experimental build

:::tip OPTIONAL
If you're a node operator comfortable with experimental features and
seeking optimal performance with minimal RAM usage, this option is
recommended for you.
```bash
make build-jemalloc
```
::: tip NOTE
This build option enables CGO. [Learn more about the build command](https://github.com/celestiaorg/celestia-node/releases/tag/v0.12.1#:~:text=%F0%9F%8F%97%EF%B8%8F-,New%20build%20option,-%3A%20Makefile%20now%20has).
This build option enables CGO, and downloads and installs
[jemalloc](https://jemalloc.net/).
[Learn more about the build command](https://github.com/celestiaorg/celestia-node/releases/tag/v0.12.1#:~:text=%F0%9F%8F%97%EF%B8%8F-,New%20build%20option,-%3A%20Makefile%20now%20has).
:::
4. Install the binary:
Expand Down
20 changes: 17 additions & 3 deletions nodes/celestia-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,26 @@ commands:

3. Build the `celestia` binary:

```bash
a. Standard build

```bash
make build
```

b. Experimental build

:::tip OPTIONAL
If you're a node operator comfortable with experimental features and
seeking optimal performance with minimal RAM usage, this option is
recommended for you.
```bash
make build-jemalloc
```
::: tip NOTE
This build option enables CGO. [Learn more about the build command](https://github.com/celestiaorg/celestia-node/releases/tag/v0.12.1#:~:text=%F0%9F%8F%97%EF%B8%8F-,New%20build%20option,-%3A%20Makefile%20now%20has).
This build option enables CGO, and downloads and installs
[jemalloc](https://jemalloc.net/).
[Learn more about the build command](https://github.com/celestiaorg/celestia-node/releases/tag/v0.12.1#:~:text=%F0%9F%8F%97%EF%B8%8F-,New%20build%20option,-%3A%20Makefile%20now%20has).
:::
4. Install the binary:
Expand Down

0 comments on commit ef523d1

Please sign in to comment.