mineTxPoWInProcess
@totemsdk/txpow / mineTxPoWInProcess
Function: mineTxPoWInProcess()
mineTxPoWInProcess(
txBodyBytes,txnDifficulty,options?):Promise<MineResult>
Run the mining loop in the current thread/task. Called directly by the Node.js worker, and by the browser code path.
Parameters
txBodyBytes
Uint8Array
txnDifficulty
Uint8Array
options?
Returns
Promise<MineResult>