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.