|
| 1 | +# Freqeuently Asked Questions |
| 2 | + |
| 3 | +**How can I use my existing keypair with SignCTRL?** |
| 4 | + |
| 5 | +Just copy and paste your `priv_validator_key.json` and `priv_validator_state.json` into your SignCTRL configuration directory. |
| 6 | + |
| 7 | +**What are pitfalls I need to watch out for?** |
| 8 | + |
| 9 | +The biggest pitfall for SignCTRL is the misconfiguration of the validator's ranks. Before starting any validator in the set, **always** make sure no two validators are assigned to the same `start_rank`. Other than that, there is nothing more to watch out for. |
| 10 | + |
| 11 | +**Which order should I start my validators in?** |
| 12 | + |
| 13 | +It doesn't matter which order you start your validators in. Starting ranks `2..n` prior to rank `1` is just as safe to do as vice-versa because ranks `2..n` will always wait for rank `1` to sign at least one block before they start counting blocks missed in a row. |
| 14 | + |
| 15 | +**How do I update the SignCTRL binary?** |
| 16 | + |
| 17 | +Follow the [Upgrade Guide](../guides/upgrade.md). |
| 18 | + |
| 19 | +**How do I update my validator's binary?** |
| 20 | + |
| 21 | +1) Stop the validator daemon. |
| 22 | +2) Wait for SignCTRL to try redialing the validator (`retry_dial_after` in the `config.toml`). |
| 23 | +3) Start the validator daemon. |
| 24 | + |
| 25 | +**How do I migrate from my existing setup to SignCTRL?** |
| 26 | + |
| 27 | +Follow the [Migration Guide](../guides/migrate.md). |
| 28 | + |
| 29 | +**How can I add/remove validators to/from the SignCTRL set?** |
| 30 | + |
| 31 | +At this point in time, it's not possible to add or remove validator's to/from the set on the fly. |
| 32 | + |
| 33 | +**SignCTRL immediately shuts itself down when I try to start it.** |
| 34 | + |
| 35 | +This is a protection mechanism rooted in the `signctrl_state.json` file. It protects against launching a validator with an rank that has been rendered obsolete by a rank update in the set, which is the case if the requested height differs more than `threshold+1` from the last height persisted in the state file. In order to fix this, please follow the steps below. |
| 36 | + |
| 37 | +1) Check each validator's rank via `signctrl status`, i.e. validator 1 is ranked 1st and validator 2 us ranked 3rd, which means that rank 2 is free. |
| 38 | +2) Update the validator's `start_rank` in the `config.toml` to the free rank. |
| 39 | +3) Delete the `signctrl_state.json` file. |
| 40 | +4) Start SignCTRL. |
0 commit comments