start = performance.now()
const random = Math.floor(Math.random() * 0xffffffff)
const seed = (BigInt(random) << 32n) | BigInt(random)
- const data = await this.#dispatch(this.#searchPipeline, seed, hash, threshold, effort * 0x200)
+ const data = await this.#dispatch(this.#searchPipeline, seed, hash, threshold, effort * 0x100)
nonce = data.getBigUint64(0, true)
this.#busy = !data.getUint32(8)
times.push(performance.now() - start)
console.log(`%cNanoPow (${type})`, 'color:green', `Calculate proof-of-work for ${size} unique send block hashes`)
const times = []
- document.getElementById('output').innerHTML += `Now testing: NanoPow (${type}) | Dispatch: ${(effort * 0x200) ** 2} | Threads/Dispatch: ${64 * ((effort * 0x200) ** 2)}<br/>`
+ document.getElementById('output').innerHTML += `Now testing: NanoPow (${type}) | Dispatch: ${(effort * 0x100) ** 2} | Threads/Dispatch: ${8 * 8 * ((effort * 0x100) ** 2)}<br/>`
for (let i = 0; i < size; i++) {
const hash = random()
let work = null