-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Request Amount of Tez Within a Range (#3)
* challengesDisabled -> challengesEnabled * Move cors middleware into middleware.ts * WIP dynamic amounts: add new env vars * Add dynamic amount of challenges needed logic * Eliminate usage of profiles * Fix tsconfig and package.json * Working dynamic challenges + Add validateAmount middleware * Handle if user changes amount + update middleware * Make challenge size configurable * Update readme * Update readme * Log amount * Return min and max tez in /info response * Send challengesNeeded in response * Fix nodemon cmd + update license * Use format function + check balance plus amount * Add NODE_ENV=production to Dockerfile * Update defaults * Use MAX_CHALLENGES_WITH_CAPTCHA instead of CAPTCHA_CHALLENGES_REDUCTION_RATIO * Update readme * Remove references to profiles * Fix readme
- Loading branch information
Showing
16 changed files
with
209 additions
and
226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.