From 0bb17cd2f34918add1ddaedeb0a66531dea561a3 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Sun, 7 Sep 2025 17:32:13 +0200 Subject: go-away: use config.yml and vendor all configuration files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- .../files/config/snippets/challenge-js-pow-sha256.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 bundles/go-away/files/config/snippets/challenge-js-pow-sha256.yml (limited to 'bundles/go-away/files/config/snippets/challenge-js-pow-sha256.yml') diff --git a/bundles/go-away/files/config/snippets/challenge-js-pow-sha256.yml b/bundles/go-away/files/config/snippets/challenge-js-pow-sha256.yml new file mode 100644 index 0000000..78f57f0 --- /dev/null +++ b/bundles/go-away/files/config/snippets/challenge-js-pow-sha256.yml @@ -0,0 +1,15 @@ +challenges: + js-pow-sha256: + runtime: js + parameters: + # specifies the folder path that assets are under + # can be either embedded or external path + # defaults to name of challenge + path: "js-pow-sha256" + # needs to be under static folder + js-loader: load.mjs + # needs to be under runtime folder + wasm-runtime: runtime.wasm + wasm-runtime-settings: + difficulty: 20 + verify-probability: 0.1 -- cgit 1.4.1