Initial commit
Once again a weird place to commit, I have already done a lot of work, but I am just bad at using git, okay.
This commit is contained in:
6
example-app/server/utils/pow.ts
Normal file
6
example-app/server/utils/pow.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { Challenge } from "@impost/lib";
|
||||
|
||||
export const outstandingChallenges = new Map<string, { challenge: Challenge, timeout: NodeJS.Timeout }>();
|
||||
|
||||
// 1 hour
|
||||
export const CHALLENGE_TIMEOUT_MS = 3600000;
|
||||
Reference in New Issue
Block a user