refactor: rename project from dgray.io to kashilo.com
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
// Client must find nonce where SHA256(challenge + nonce) has N leading zeros
|
||||
// Server-first: tries /pow/challenge endpoint, falls back to local generation
|
||||
|
||||
const POW_SERVER = 'https://pow.dgray.io'
|
||||
const POW_SERVER = 'https://pow.kashilo.com'
|
||||
const DIFFICULTY = 4
|
||||
const SERVER_TIMEOUT_MS = 1500
|
||||
|
||||
const LOCAL_HMAC_KEY = 'dgray-pow-local-v1'
|
||||
const LOCAL_HMAC_KEY = 'kashilo-pow-local-v1'
|
||||
|
||||
async function hmacSign(message) {
|
||||
const enc = new TextEncoder()
|
||||
|
||||
Reference in New Issue
Block a user