diff options
| author | Robert Günzler <r@gnzler.io> | 2025-09-07 17:32:13 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2025-09-25 12:56:47 +0200 |
| commit | 0bb17cd2f34918add1ddaedeb0a66531dea561a3 (patch) | |
| tree | f1d3a825273c8a2ab3e804876328bd3f1a939f68 /bundles/go-away/files/config/snippets/challenge-js-pow-sha256.yml | |
| parent | 332d333fa24c8b1943799aadb017f61e642008e1 (diff) | |
go-away: use config.yml and vendor all configuration files
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bundles/go-away/files/config/snippets/challenge-js-pow-sha256.yml')
| -rw-r--r-- | bundles/go-away/files/config/snippets/challenge-js-pow-sha256.yml | 15 |
1 files changed, 15 insertions, 0 deletions
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 |