Lazy load tx inputs in Bitcoin Core mode

fixes #465
This commit is contained in:
softsimon
2022-05-13 16:00:38 +04:00
parent 2ba506515c
commit fb63817282
9 changed files with 53 additions and 21 deletions

View File

@@ -778,7 +778,7 @@ class Routes {
const endIndex = Math.min(startingIndex + 10, txIds.length);
for (let i = startingIndex; i < endIndex; i++) {
try {
const transaction = await transactionUtils.$getTransactionExtended(txIds[i], true);
const transaction = await transactionUtils.$getTransactionExtended(txIds[i], true, true);
transactions.push(transaction);
loadingIndicators.setProgress('blocktxs-' + req.params.hash, (i + 1) / endIndex * 100);
} catch (e) {