Skip to content

Commit

Permalink
docs: 📝 improve warning, info for opt command
Browse files Browse the repository at this point in the history
  • Loading branch information
heldrida committed Jan 19, 2024
1 parent c387c8d commit 6dfeadc
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions docs/node/lightning-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,28 @@ To opt-in, use the subcommand **in**:
lgtn opt in
```

Once successful, you will receive a confirmation text message as feedback, notifying you of your inclusion in the next epoch.
Once successful, you will receive a confirmation text message as feedback, notifying you of your inclusion in the next Epoch.

Opt-out of network participation by using **out** (note that this command should be sent before shutting down the node to avoid reputation penalties). Similarly, should shutdown only after the epoch ends to mitigate any participation faults.
Opt-out of network participation by using **out** (note that this command should be sent before shutting down the node to avoid reputation penalties). Similarly, should shutdown only after the Epoch ends to mitigate any participation faults.

```sh
lgtn opt out
```

:::warning
To prevent any negative impact on the node's reputation, it's advisable to wait until the end of the Epoch (~24h) before shutting down the node when opting out.
:::

:::tip
Shutting down a Node after an Epoch can be tedious, given the remaining time an Epoch can take to end. Doing it prematurely, will cause reputation penalties, e.g. shutting down before the participation state change to offline. Therefore, a shutdown utility is available in the **Tools** menu option of `get.fleek.network`.

To access it, execute the command:

```sh
curl https://get.fleek.network | bash
```
:::

To query the node participation status in the network, use the subcommand **status**.

```sh
Expand All @@ -95,10 +109,6 @@ lgtn opt status
Network participation control can be carried out regardless of whether the node is started or online.
:::

:::warning
To prevent any negative impact on the node's reputation, it's advisable to wait until the end of the Epoch (~24h) before shutting down the node when opting out. The same applies to nodes that have opted-in but are currently offline.
:::

### Print-config

Print the loaded configuration.
Expand Down

0 comments on commit 6dfeadc

Please sign in to comment.