Skip to content

Commit

Permalink
Just show one option
Browse files Browse the repository at this point in the history
  • Loading branch information
timothymcmackin committed Jan 30, 2025
1 parent b85df78 commit 5d4ba07
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/architecture/smart-rollups.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,16 @@ When a user runs a node that posts commitments, the protocol automatically locks
If the node posts a commitment that is refuted, they lose their bond, as described in [Refutation periods](#refutation-periods).

Because nodes have the length of the refutation to challenge another node's commitment, the bond stays locked until the end of the refutation period for the last commitment that the node posted.
The node operator can recover the bond in different ways:
Recovering the bond safely takes a few steps; in general, node operators follow these steps:

- Using the `octez-client recover bond` command, which unlocks their tez after the refutation period ends.
1. Switch the rollup node to a mode that defends previously made commitments but does not post new commitments, such as `accuser` mode or `bailout` mode.

1. Wait until the last commitment is cemented.
If operators shut down the node before the last commitment is cemented, they risk losing their bond if another node challenges their commitments.

1. Recover the bond by running the `octez-client recover bond` command, which unlocks their tez.
Nodes running in `bailout` mode run this command automatically when the last commitment is cemented.

- By switching the rollup node to bailout mode, which does not post commitments but continues to defend previously made commitments until the last refutation period ends, then runs the `octez-client recover bond` command automatically.
For an example of how to use bailout mode to recover your bond, see [Stopping the Smart Rollup node](https://docs.etherlink.com/network/smart-rollup-nodes/#stopping-the-smart-rollup-node) in the Etherlink documentation.

### Reveal data channel
Expand Down

0 comments on commit 5d4ba07

Please sign in to comment.