In Iquidus Explorer case, insert this function to “lib/database.js” in blocks txid register.
e.g. Linux: Sleep(200), WindowsServer: Sleep(500)
1 2 3 4 5 6 7 8 9 |
function sleep(time) { const d1 = new Date(); while (true) { const d2 = new Date(); if (d2 - d1 > time) { return; } } } |