HomePhabricator

[Cashtab] Reduce tx history rendering

Description

[Cashtab] Reduce tx history rendering

Summary:
Sync methods used to parse tx history are causing slow load times due to newly introduced methods to parse agora txs.

This is not the "right" solution. However there are many parts to the right solution and it could take some time to get into prod.

For now, reduce the number of displayed txs to improve performance while working on the right solution.

Test Plan:
npm test

this is live at https://cashtab-local-dev.netlify.app/#/

it does not really solve the problem. It does noticeably speed up load times for wallets with agora txs in history, tho need to wait for the wallet to load tx history from chronik to get 10 instead of the 20 that will be cached. The speed issue comes from processing the 20 -- we need to cache them better, load and parse async.

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Subscribers: emack

Differential Revision: https://reviews.bitcoinabc.org/D17309

Details

Provenance
bytesofmanAuthored on Sat, Dec 7, 07:11
bytesofmanPushed on Sun, Dec 8, 02:35
Reviewer
Restricted Project
Differential Revision
D17309: [Cashtab] Reduce tx history rendering
Parents
rABC8699a05b156e: [Cashtab] Dockerfile lint
Branches
Unknown
Tags
Unknown