From 878c942c5bfe8d73799f4eb7d3bc6aa528bd2365 Mon Sep 17 00:00:00 2001 From: Alfredo Gutierrez Date: Tue, 10 Dec 2024 21:43:27 -0600 Subject: [PATCH] Added configuration section Signed-off-by: Alfredo Gutierrez --- server/docs/design/block-verification.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/server/docs/design/block-verification.md b/server/docs/design/block-verification.md index 7f161489..282a69fe 100644 --- a/server/docs/design/block-verification.md +++ b/server/docs/design/block-verification.md @@ -163,6 +163,18 @@ public enum VerificationError { } ``` +## Configuration +As with other services already implemented in the Block Node system, the current Block Verification Service should be able to be configurable via a Config Object `VerificationConfig` and all the configuration properties defined in here and the configuration document. +
+
verification.enabled
+
enables or disables the verification handler as another subscriber of the unverified ring buffer.
+
verification.hashAlgorithm
+
by default and for starters there will only be support for `SHA389`.
+
verification.executorWorkers
+
how many workers to create with the verification async pool. by default five (5).
+
+*note: after the actual implementation these properties could change, however they should have its own configuration object, all the added properties should be updated here and in the configuration doc. + ## Metrics
blocks_received
Counter of the number of blocks received for verification.