From 002dff3e71945898b40fde9abf65b8cb59b3e3f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gianguido=20Sor=C3=A0?= Date: Thu, 27 Jul 2023 13:53:33 +0200 Subject: [PATCH] document `--private-key-file-lock` (#232) Adds a section under `FAQ/Errors` with an explaination of the behavior of `--private-key-file-lock`. --- docs/int/faq/errors.mdx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/int/faq/errors.mdx b/docs/int/faq/errors.mdx index 8a89a39607..f7ac92f8f1 100644 --- a/docs/int/faq/errors.mdx +++ b/docs/int/faq/errors.mdx @@ -277,6 +277,17 @@ docker compose logs msgSigAgg 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. +
+ +

+ Existing private key lock file found, another charon instance may be running on your machine error +

+
+ When you turn on the --private-key-file-lock 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 .lock 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. +