Skip to content

Commit

Permalink
document --private-key-file-lock (#232)
Browse files Browse the repository at this point in the history
Adds a section under `FAQ/Errors` with an explaination of the behavior of
`--private-key-file-lock`.
  • Loading branch information
gsora authored Jul 27, 2023
1 parent d4bd1e5 commit 002dff3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/int/faq/errors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,17 @@ docker compose logs
</summary>
<code>msgSigAgg</code> indicates that BLS threshold aggregation of sufficient partial signatures failed. This indicates inconsistent signed data. This indicates a bug in charon as it is unexpected.
</details>
<details className="details">
<summary>
<h4 id="private-key-lock-error">
<code>Existing private key lock file found, another charon instance may be running on your machine</code> error
</h4>
</summary>
When you turn on the <code>--private-key-file-lock</code> option in Charon, it checks for a special file called the private key lock file. This file has the same name as the ENR private key file but with a <code>.lock</code> extension.
If the private key lock file exists and is not older than 5 seconds, Charon won't run. It doesn't allow running multiple Charon instances with the same ENR private key.
If the private key lock file has a timestamp older than 5 seconds, Charon will replace it and continue with its work.
If you're sure that no other Charon instances are running, you can delete the private key lock file.
</details>
</details>
<details open className="details">
<summary>
Expand Down

0 comments on commit 002dff3

Please sign in to comment.