Modules§
- hashiverse_
client_ wasm - wasm_
bootstrap_ provider - wasm_
client_ storage - wasm_
key_ locker - wasm_
local_ settings - wasm_
parallel_ pow_ generator - wasm_
transport - wasm_
try - with_
js_ context
Macros§
Functions§
- get_
wasm_ parallel_ pow_ generator - Get the global WasmParallelPowGenerator if initialized.
- init_
pow_ workers - Initialize the parallel PoW worker pool. Call from TypeScript, passing an
array of ready
Workerhandles that each runHashiversePowWorker.ts. - pow_
compute_ batch - Sync PoW batch computation for sub-workers. Each sub-worker calls this function with a portion of the total iteration budget.
- wasm_
init - Initialise logging and panic hook. Must be called manually before using the WASM module.
Pass
verbose = truefor the main worker (logs confirmation),falsefor PoW sub-workers (silent).